mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 21:59:02 -04:00
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:
parent
9d73b1f4af
commit
5865c80a76
2 changed files with 95 additions and 50 deletions
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue