Tabs are now loaded and saved (no chats yet)

This commit is contained in:
Rasmus Karlsson
2017-01-28 22:35:23 +01:00
parent 6fb4305162
commit 1c076b803e
11 changed files with 236 additions and 18 deletions
+8 -2
View File
@@ -3,6 +3,7 @@
#include <QPropertyAnimation>
#include <QWidget>
#include <boost/property_tree/ptree.hpp>
namespace chatterino {
namespace widgets {
@@ -117,8 +118,13 @@ private slots:
calcSize();
update();
}
public:
void load(const boost::property_tree::ptree &tree);
boost::property_tree::ptree save();
};
}
}
} // namespace widgets
} // namespace chatterino
#endif // NOTEBOOKTAB_H