mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -04:00
- added idle status
- insert peers is now under the same qtimer as save status git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2797 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
926c0dc284
commit
8993ebb8aa
2 changed files with 63 additions and 19 deletions
|
@ -48,17 +48,17 @@ public:
|
|||
static MessengerWindow* getInstance();
|
||||
static void releaseInstance();
|
||||
|
||||
virtual void updateMessengerDisplay() ; // overloaded from RsAutoUpdatePage
|
||||
|
||||
public slots:
|
||||
void insertPeers();
|
||||
|
||||
/** Called when this dialog is to be displayed */
|
||||
void show();
|
||||
|
||||
void updateMessengerDisplay() ;
|
||||
void updatePeersAvatar(const QString& peer_id);
|
||||
void updateAvatar();
|
||||
void loadmystatusmessage();
|
||||
void loadOwnStatus();
|
||||
void checkAndSetIdle(int idleTime);
|
||||
|
||||
LogoBar & getLogoBar() const;
|
||||
|
||||
|
@ -99,8 +99,8 @@ private slots:
|
|||
|
||||
void savestatusmessage();
|
||||
|
||||
void savestatus();
|
||||
|
||||
|
||||
void on_actionSort_Peers_Descending_Order_activated();
|
||||
void on_actionSort_Peers_Ascending_Order_activated();
|
||||
void on_actionRoot_is_decorated_activated();
|
||||
|
@ -120,7 +120,14 @@ private:
|
|||
|
||||
/* (2) Utility Fns */
|
||||
QTreeWidgetItem *getCurrentPeer();
|
||||
|
||||
void savestatus();
|
||||
void insertPeers();
|
||||
// idle function
|
||||
void setIdle(bool Idle);
|
||||
bool isIdle;
|
||||
const unsigned long maxTimeBeforeIdle;
|
||||
|
||||
|
||||
std::map<std::string, PopupChatDialog *> chatDialogs;
|
||||
|
||||
class QLabel *iconLabel, *textLabel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue