mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
912e5339ca
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4811 b45a01b8-16f6-495d-af2f-9b41ad6348cc
36 lines
854 B
C++
36 lines
854 B
C++
#pragma once
|
|
|
|
#include "ui_ChatLobbyWidget.h"
|
|
#include "RsAutoUpdatePage.h"
|
|
|
|
class RSTreeWidgetItemCompareRole;
|
|
|
|
class ChatLobbyWidget : public RsAutoUpdatePage, Ui::ChatLobbyWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
/** Default constructor */
|
|
ChatLobbyWidget(QWidget *parent = 0, Qt::WFlags flags = 0);
|
|
|
|
/** Default destructor */
|
|
~ChatLobbyWidget();
|
|
|
|
virtual void updateDisplay();
|
|
|
|
protected slots:
|
|
void lobbyChanged();
|
|
void lobbyTreeWidgetCostumPopupMenu();
|
|
void createChatLobby();
|
|
void subscribeItem();
|
|
void unsubscribeItem();
|
|
void itemDoubleClicked(QTreeWidgetItem *item, int column);
|
|
void displayChatLobbyEvent(qulonglong lobby_id, int event_type, const QString& nickname, const QString& str);
|
|
void readChatLobbyInvites();
|
|
|
|
private:
|
|
RSTreeWidgetItemCompareRole *compareRole;
|
|
QTreeWidgetItem *privateLobbyItem;
|
|
QTreeWidgetItem *publicLobbyItem;
|
|
};
|