done with GUI
diff --git a/demo/chatdialog.h b/demo/chatdialog.h
index 3ae668b..9ca77c0 100644
--- a/demo/chatdialog.h
+++ b/demo/chatdialog.h
@@ -26,6 +26,9 @@
   void readSettings();
   void writeSettings();
   void updateLabels();
+  void resizeEvent(QResizeEvent *);
+  void showEvent(QShowEvent *);
+  void fitView();
 
 private slots:
   void returnPressed();