refactored the managers

This commit is contained in:
2017-12-31 00:50:07 +01:00
parent 258288bad9
commit bfa2f1637e
80 changed files with 1023 additions and 964 deletions
+1 -5
View File
@@ -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;