add roster list, half baked, need to go home
diff --git a/chatdialog.h b/chatdialog.h
index 5662b7b..dc7b390 100644
--- a/chatdialog.h
+++ b/chatdialog.h
@@ -16,6 +16,7 @@
class QAction;
class QMenu;
+class QStringListModel;
class ChatDialog : public QDialog, private Ui::ChatDialog
{
@@ -62,6 +63,7 @@
void settingUpdated(QString, QString, QString);
void sendHello();
void replot();
+ void updateRosterList();
// icon related
void iconActivated(QSystemTrayIcon::ActivationReason reason);
@@ -83,6 +85,7 @@
time_t m_lastMsgTime;
int m_randomizedInterval;
QTimer *m_timer;
+ QStringListModel *m_rosterModel;
// icon related
QAction *minimizeAction;