X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.h;h=0c9329ed0a59cdfc89f32fd8f0f1ed3e837bbd54;hp=a60b842878b1b45b01824c1b26ba18ed5f62caa3;hb=3271ab1dff7df6f6464cb714d675291aae791639;hpb=61e0633ce94a38e669382c29db498f335d2e0fa8 diff --git a/src/qtui/chatscene.h b/src/qtui/chatscene.h index a60b8428..0c9329ed 100644 --- a/src/qtui/chatscene.h +++ b/src/qtui/chatscene.h @@ -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: @@ -92,6 +94,7 @@ public: signals: void lastLineChanged(QGraphicsItem *item, qreal offset); void layoutChanged(); // indicates changes to the scenerect due to resizing of the contentsitems + void mouseMoveWhileSelecting(const QPointF &scenePos); protected: virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent);