Some cleanups in ChatScene in preparation to mouse handling revamp
[quassel.git] / src / qtui / chatscene.h
index 852a8d1..3349d2f 100644 (file)
@@ -63,7 +63,8 @@ public:
     NoClick,
     SingleClick,
     DoubleClick,
-    TripleClick
+    TripleClick,
+    DragStartClick
   };
 
   ChatScene(QAbstractItemModel *model, const QString &idString, qreal width, ChatView *parent);
@@ -173,14 +174,14 @@ private:
   int _firstSelectionRow;
   bool _isSelecting;
 
-  bool _showWebPreview;
-
   QTimer _clickTimer;
   ClickMode _clickMode;
   QPointF _clickPos;
   bool _clickHandled;
   bool _leftButtonPressed;
 
+  bool _showWebPreview;
+
   struct WebPreview {
     ChatItem *parentItem;
     QGraphicsItem *previewItem;