better handling of log messages (internal stuff only)
[quassel.git] / src / qtui / chatview.h
index eab096b..11bd417 100644 (file)
@@ -43,12 +43,15 @@ public:
 
 public slots:
   inline virtual void clear() {}
+  void zoomIn();
+  void zoomOut();
+  void zoomNormal();
 
 protected:
   virtual void resizeEvent(QResizeEvent *event);
 
 protected slots:
-  void lastLineChanged(QGraphicsItem *chatLine);
+  void lastLineChanged(QGraphicsItem *chatLine, qreal offset);
   virtual inline void sceneRectChanged(const QRectF &rect) { setSceneRect(rect); }
   virtual void verticalScrollbarChanged(int);
 
@@ -57,6 +60,7 @@ private:
 
   ChatScene *_scene;
   int _lastScrollbarPos;
+  qreal _currentScaleFactor;
 };