mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -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
2 changed files with 6 additions and 0 deletions
|
@ -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. */
|
||||
createTrayIcon();
|
||||
|
||||
idle = new Idle();
|
||||
idle->start();
|
||||
|
||||
QTimer *timer = new QTimer(this);
|
||||
timer->connect(timer, SIGNAL(timeout()), this, SLOT(updateStatus()));
|
||||
timer->start(1000);
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
|
||||
#include "ui_MainWindow.h"
|
||||
#include "gui/common/rwindow.h"
|
||||
#include "idle/idle.h"
|
||||
|
||||
class PeerStatus;
|
||||
class NATStatus;
|
||||
|
@ -90,6 +91,8 @@ public:
|
|||
MessagesDialog *messagesDialog;
|
||||
SharedFilesDialog *sharedfilesDialog;
|
||||
MessengerWindow *messengerWindow;
|
||||
Idle *idle;
|
||||
|
||||
#ifdef UNFINISHED
|
||||
ApplicationWindow *applicationWindow;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue