Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/ruqolacentralwidget.h
Show All 33 Lines | |||||
34 | class LIBRUQOLAWIDGETS_TESTS_EXPORT RuqolaCentralWidget : public QWidget | 34 | class LIBRUQOLAWIDGETS_TESTS_EXPORT RuqolaCentralWidget : public QWidget | ||
35 | { | 35 | { | ||
36 | Q_OBJECT | 36 | Q_OBJECT | ||
37 | public: | 37 | public: | ||
38 | explicit RuqolaCentralWidget(QWidget *parent = nullptr); | 38 | explicit RuqolaCentralWidget(QWidget *parent = nullptr); | ||
39 | ~RuqolaCentralWidget() override; | 39 | ~RuqolaCentralWidget() override; | ||
40 | Q_REQUIRED_RESULT QString roomId() const; | 40 | Q_REQUIRED_RESULT QString roomId() const; | ||
41 | 41 | | |||
42 | void setCurrentRocketChatAccount(RocketChatAccount *account); | 42 | void setCurrentRocketChatAccount(RocketChatAccount *account, bool showLastRoom); | ||
43 | Q_REQUIRED_RESULT QString roomType() const; | 43 | Q_REQUIRED_RESULT QString roomType() const; | ||
44 | RoomWrapper *roomWrapper() const; | 44 | RoomWrapper *roomWrapper() const; | ||
45 | Q_SIGNALS: | 45 | Q_SIGNALS: | ||
46 | void channelSelected(); | 46 | void channelSelected(); | ||
47 | void loginPageActivated(bool showLoginPage); | 47 | void loginPageActivated(bool showLoginPage); | ||
48 | private: | 48 | private: | ||
49 | void slotLoginStatusChanged(); | 49 | void slotLoginStatusChanged(); | ||
50 | void slotJobFailedInfo(const QString &messageError); | 50 | void slotJobFailedInfo(const QString &messageError); | ||
Show All 9 Lines |