diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-06 19:21:38 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-06 19:21:38 +0200 |
| commit | 0fd0f2d919d748280c48383840fe7c4d988bbd00 (patch) | |
| tree | b2fb1f93a9ed3f0ebc7fb81addc585f0722db599 /mainwindow.hpp | |
| parent | cb69dca1dbf19ae854276803442e724045c4be81 (diff) | |
| download | kristall-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.hpp | 8 |
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 |
