mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added idle status and connection to messenger window
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2795 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
eed3de92a9
commit
5cc59d6e77
@ -266,6 +266,9 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||||||
/* Creates a tray icon with a context menu and adds it to the system's * notification area. */
|
/* Creates a tray icon with a context menu and adds it to the system's * notification area. */
|
||||||
createTrayIcon();
|
createTrayIcon();
|
||||||
|
|
||||||
|
idle = new Idle();
|
||||||
|
idle->start();
|
||||||
|
|
||||||
QTimer *timer = new QTimer(this);
|
QTimer *timer = new QTimer(this);
|
||||||
timer->connect(timer, SIGNAL(timeout()), this, SLOT(updateStatus()));
|
timer->connect(timer, SIGNAL(timeout()), this, SLOT(updateStatus()));
|
||||||
timer->start(1000);
|
timer->start(1000);
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
|
|
||||||
#include "ui_MainWindow.h"
|
#include "ui_MainWindow.h"
|
||||||
#include "gui/common/rwindow.h"
|
#include "gui/common/rwindow.h"
|
||||||
|
#include "idle/idle.h"
|
||||||
|
|
||||||
class PeerStatus;
|
class PeerStatus;
|
||||||
class NATStatus;
|
class NATStatus;
|
||||||
@ -90,6 +91,8 @@ public:
|
|||||||
MessagesDialog *messagesDialog;
|
MessagesDialog *messagesDialog;
|
||||||
SharedFilesDialog *sharedfilesDialog;
|
SharedFilesDialog *sharedfilesDialog;
|
||||||
MessengerWindow *messengerWindow;
|
MessengerWindow *messengerWindow;
|
||||||
|
Idle *idle;
|
||||||
|
|
||||||
#ifdef UNFINISHED
|
#ifdef UNFINISHED
|
||||||
ApplicationWindow *applicationWindow;
|
ApplicationWindow *applicationWindow;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user