Add menu in chatdialog
diff --git a/src/chatdialog.h b/src/chatdialog.h
index d7a1520..4e7ab59 100644
--- a/src/chatdialog.h
+++ b/src/chatdialog.h
@@ -18,6 +18,7 @@
 #include <QStringListModel>
 #include <QTimer>
 #include <QSystemTrayIcon>
+#include <QMenu>
 
 #include "invitelistdialog.h"
 
@@ -249,6 +250,9 @@
   
   void
   sendInvitationWrapper(QString, bool);
+
+  void
+  quit();
     
 private:
   Ui::ChatDialog *ui;
@@ -276,6 +280,12 @@
   QStringListModel *m_rosterModel;
   QSystemTrayIcon *trayIcon;
 
+  QAction *minimizeAction;
+  QAction *maximizeAction;
+  QAction *restoreAction;
+  QAction *quitAction;
+  QMenu *trayIconMenu;
+
   // QQueue<SyncDemo::ChatMessage> m_history;
   // bool m_historyInitialized;
   bool m_joined;