check and update roster
diff --git a/chatdialog.h b/chatdialog.h
index 8846a4b..5662b7b 100644
--- a/chatdialog.h
+++ b/chatdialog.h
@@ -61,6 +61,7 @@
   void checkSetting();
   void settingUpdated(QString, QString, QString);
   void sendHello();
+  void replot();
 
   // icon related
   void iconActivated(QSystemTrayIcon::ActivationReason reason);
@@ -81,6 +82,7 @@
   boost::mutex m_sceneMutex;
   time_t m_lastMsgTime;
   int m_randomizedInterval;
+  QTimer *m_timer;
 
   // icon related
   QAction *minimizeAction;