aboutsummaryrefslogtreecommitdiff
path: root/mainwindow.hpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-06 19:21:38 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-06 19:21:38 +0200
commit0fd0f2d919d748280c48383840fe7c4d988bbd00 (patch)
treeb2fb1f93a9ed3f0ebc7fb81addc585f0722db599 /mainwindow.hpp
parentcb69dca1dbf19ae854276803442e724045c4be81 (diff)
downloadkristall-0fd0f2d919d748280c48383840fe7c4d988bbd00.tar.gz
Moves from favourites.db to QSettings, moves theming to MainWindow, save/load installed theme.
Diffstat (limited to 'mainwindow.hpp')
-rw-r--r--mainwindow.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/mainwindow.hpp b/mainwindow.hpp
index ea2af3e..eb8918b 100644
--- a/mainwindow.hpp
+++ b/mainwindow.hpp
@@ -3,8 +3,11 @@
#include <QMainWindow>
#include <QLabel>
+#include <QSettings>
+
#include "favouritecollection.hpp"
+#include "geminirenderer.hpp"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
@@ -41,10 +44,13 @@ private slots:
void on_tab_locationChanged(QUrl const & url);
+public:
+ QSettings settings;
+ GeminiStyle current_style;
+
private:
Ui::MainWindow *ui;
QLabel * url_status;
-
};
#endif // MAINWINDOW_HPP