you can now disable the web previews and user state icons (settings -> appearance...
[quassel.git] / src / qtui / chatscene.h
index a932380..85328df 100644 (file)
@@ -72,6 +72,8 @@ public:
   inline CutoffMode senderCutoffMode() const { return _cutoffMode; }
   inline void setSenderCutoffMode(CutoffMode mode) { _cutoffMode = mode; }
 
+  bool isScrollingAllowed() const;
+
   virtual bool event(QEvent *e);
 
  public slots:
@@ -108,6 +110,7 @@ private slots:
   void secondHandlePositionChanged(qreal xpos);
   void showWebPreviewEvent();
   void deleteWebPreviewEvent();
+  void showWebPreviewChanged();
 
 private:
   void setHandleXLimits();
@@ -139,6 +142,8 @@ private:
   int _firstSelectionRow;
   bool _isSelecting;
 
+  bool _showWebPreview;
+
   struct WebPreview {
     ChatItem *parentItem;
     QGraphicsItem *previewItem;