added new tree items for subscribed lobbies. Helps spoting them in the list (Patch from Phenom)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6821 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-10-11 20:46:25 +00:00
parent 9d73b1f4af
commit 5865c80a76
2 changed files with 95 additions and 50 deletions

View file

@ -5,9 +5,6 @@
#include "ui_ChatLobbyWidget.h"
#include "RsAutoUpdatePage.h"
class QModelIndex;
class QPainter;
class RSTreeWidgetItemCompareRole;
class ChatTabWidget ;
class ChatLobbyDialog ;
@ -39,7 +36,6 @@ public:
protected slots:
void lobbyChanged();
void lobbyTreeWidgetCustomPopupMenu(QPoint);
void lobbyTreeWidgetHeaderCustomPopupMenu( QPoint point );
void createChatLobby();
void subscribeItem();
void unsubscribeItem();
@ -74,6 +70,8 @@ private:
RSTreeWidgetItemCompareRole *compareRole;
QTreeWidgetItem *privateLobbyItem;
QTreeWidgetItem *publicLobbyItem;
QTreeWidgetItem *privateSubLobbyItem;
QTreeWidgetItem *publicSubLobbyItem;
QTreeWidgetItem *getTreeWidgetItem(ChatLobbyId);
ChatTabWidget *tabWidget ;
@ -89,5 +87,6 @@ private:
QAction* showUserCountAct;
QAction* showTopicAct;
QAction* showSubscribeAct;
int getNumColVisible();
};