refactored the managers
This commit is contained in:
@@ -25,8 +25,7 @@ class Notebook : public BaseWidget
|
||||
public:
|
||||
enum HighlightType { none, highlighted, newMessage };
|
||||
|
||||
explicit Notebook(ChannelManager &_channelManager, Window *parent, bool _showButtons,
|
||||
const std::string &settingPrefix);
|
||||
explicit Notebook(Window *parent, bool _showButtons, const std::string &settingPrefix);
|
||||
|
||||
SplitContainer *addNewPage();
|
||||
SplitContainer *addPage(const std::string &uuid, bool select = false);
|
||||
@@ -58,9 +57,6 @@ public slots:
|
||||
void usersButtonClicked();
|
||||
void addPageButtonClicked();
|
||||
|
||||
public:
|
||||
ChannelManager &channelManager;
|
||||
|
||||
private:
|
||||
QList<SplitContainer *> pages;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user