aboutsummaryrefslogtreecommitdiff
path: root/src/settingswidget.h
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-06-25 23:12:28 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-06-25 23:12:28 +0530
commit211139005036fced3ae191c4989b32dfd9e95de1 (patch)
tree138855b6c58a89827f00dfa00942bcb02e3feb43 /src/settingswidget.h
parentf8455de73e0b4eeeaa51013dd0d2a984f9335047 (diff)
downloadwhatsie-211139005036fced3ae191c4989b32dfd9e95de1.tar.gz
whatsie-211139005036fced3ae191c4989b32dfd9e95de1.zip
feat: some new features
- feat: new command line options, run: whatsie -h for more - feat: add theme toggle action in system tray action menu with shortcut CTRL+T - feat: shortcut to open settings CTRL+P - fix: Changes (mosty non visible) in applock flow
Diffstat (limited to 'src/settingswidget.h')
-rw-r--r--src/settingswidget.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/settingswidget.h b/src/settingswidget.h
index 3e76b20..8e8eab8 100644
--- a/src/settingswidget.h
+++ b/src/settingswidget.h
@@ -20,8 +20,8 @@ signals:
void muteToggled(const bool checked);
void autoPlayMediaToggled(const bool checked);
void userAgentChanged(QString userAgentStr);
- void init_lock();
- void change_lock_password();
+ void initLock();
+ void changeLockPassword();
void dictChanged(QString dict);
void spellCheckChanged(bool checked);
void notificationPopupTimeOutChanged();
@@ -43,10 +43,11 @@ public slots:
void appLockSetChecked(bool checked);
void setCurrentPasswordText(QString str);
void loadDictionaries(QStringList dictionaries);
-
void clearAllData();
void autoAppLockSetChecked(bool checked);
void updateAppLockPasswordViewer();
+ void appAutoLockingSetChecked(bool checked);
+ void toggleTheme();
protected slots:
bool eventFilter(QObject *obj, QEvent *event);
void closeEvent(QCloseEvent *event);
@@ -54,6 +55,7 @@ protected slots:
private slots:
QString cachePath();
QString persistentStoragePath();
+ void showSetApplockPasswordDialog();
bool isChildOf(QObject *Of, QObject *self);
void applyThemeQuirks();
void on_appAutoLockcheckBox_toggled(bool checked);
@@ -92,7 +94,6 @@ private slots:
void on_zoomPlus_clicked();
void on_zoomResetMaximized_clicked();
void on_zoomReset_clicked();
- void showSetApplockPasswordDialog();
void themeSwitchTimerTimeout();
void updateAutomaticTheme();