aboutsummaryrefslogtreecommitdiff
path: root/src/settingswidget.h
diff options
context:
space:
mode:
authorLibravatar keshavbhatt <keshavnrj@gmail.com>2021-05-03 16:55:02 +0530
committerLibravatar keshavbhatt <keshavnrj@gmail.com>2021-05-03 16:55:02 +0530
commit9b609a3a2c75af178538377d4d75beef8724f48d (patch)
tree439bda15abeffa3987d9f789bfd6781eb56cf506 /src/settingswidget.h
parent3123a6d1eb81f286e64185b9b5ce3267e8a42f8f (diff)
downloadwhatsie-9b609a3a2c75af178538377d4d75beef8724f48d.tar.gz
whatsie-9b609a3a2c75af178538377d4d75beef8724f48d.zip
-added flag icons to spell checker language combobox items,
-added automatic theme switching capabilities.
Diffstat (limited to 'src/settingswidget.h')
-rw-r--r--src/settingswidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settingswidget.h b/src/settingswidget.h
index b952d2d..300b7e3 100644
--- a/src/settingswidget.h
+++ b/src/settingswidget.h
@@ -82,10 +82,15 @@ private slots:
void on_tryNotification_clicked();
+ void on_automaticThemeCheckBox_toggled(bool checked);
+
+ void updateAutomaticTheme();
+ void themeSwitchTimerTimeout();
private:
Ui::SettingsWidget *ui;
QString engineCachePath,enginePersistentStoragePath;
QSettings settings;
+ QTimer *themeSwitchTimer;
};
#endif // SETTINGSWIDGET_H