Quassel now handles even huge ChatScenes without slowing to a crawl.
[quassel.git] / src / qtui / chatview.h
index cc627c7..100b311 100644 (file)
@@ -18,8 +18,8 @@
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
-#ifndef _CHATVIEW_H_
-#define _CHATVIEW_H_
+#ifndef CHATVIEW_H_
+#define CHATVIEW_H_
 
 #include <QGraphicsView>
 
 
 #include <QGraphicsView>
 
@@ -53,6 +53,12 @@ class ChatView : public QGraphicsView, public AbstractChatView {
 
     void setContents(const QList<AbstractUiMsg *> &);
 
 
     void setContents(const QList<AbstractUiMsg *> &);
 
+  protected:
+    virtual void resizeEvent(QResizeEvent *event);
+
+  protected slots:
+    virtual void sceneHeightChanged(int height);
+
   private:
     ChatScene *_scene;
 };
   private:
     ChatScene *_scene;
 };