Removed the status column in PeersDialog and added the status to the name column.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3916 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-12-15 21:32:44 +00:00
parent 98f471c56b
commit 254e3de187
9 changed files with 174 additions and 104 deletions

View file

@ -32,8 +32,8 @@
// states for sorting (equal values are possible)
// used in BuildSortString - state + name
#define PEER_STATE_ONLINE 1
#define PEER_STATE_AWAY 2
#define PEER_STATE_BUSY 3
#define PEER_STATE_BUSY 2
#define PEER_STATE_AWAY 3
#define PEER_STATE_AVAILABLE 4
#define PEER_STATE_INACTIVE 5
#define PEER_STATE_OFFLINE 6
@ -161,8 +161,9 @@ private slots:
void setCurrentFileName(const QString &fileName);
void displayMenu();
void statusColumn();
void sortByState();
void sortPeersAscendingOrder();
void sortPeersDescendingOrder();
void newsFeedChanged(int count);
@ -184,6 +185,7 @@ private:
RSTreeWidgetItemCompareRole *m_compareRole;
void displayMenu();
///play the sound when recv a message
void playsound();