aboutsummaryrefslogtreecommitdiff
path: root/src/settingswidget.h
diff options
context:
space:
mode:
authorLibravatar keshavbhatt <keshavnrj@gmail.com>2021-04-09 10:25:02 +0530
committerLibravatar keshavbhatt <keshavnrj@gmail.com>2021-04-09 10:25:02 +0530
commit0f80232fff079a0f91765b32a539fe370d3ca84f (patch)
tree3ffcbc9d7357882d8cf9e4a5d962e3e7e8a9fbe6 /src/settingswidget.h
parenta8dc0f54ab92b0450984ca8929f783fe456ea23b (diff)
downloadwhatsie-0f80232fff079a0f91765b32a539fe370d3ca84f.tar.gz
whatsie-0f80232fff079a0f91765b32a539fe370d3ca84f.zip
spellcheck impl
Diffstat (limited to 'src/settingswidget.h')
-rw-r--r--src/settingswidget.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/settingswidget.h b/src/settingswidget.h
index 640f294..e126930 100644
--- a/src/settingswidget.h
+++ b/src/settingswidget.h
@@ -22,6 +22,8 @@ signals:
void autoPlayMediaToggled(const bool checked);
void userAgentChanged(QString userAgentStr);
void init_lock();
+ void dictChanged(QString dict);
+ void spellCheckChanged(bool checked);
public:
explicit SettingsWidget(QWidget *parent = nullptr,QString engineCachePath = "",
QString enginePersistentStoragePath = "");
@@ -32,6 +34,7 @@ public slots:
void updateDefaultUAButton(const QString engineUA);
void appLockSetChecked(bool checked);
void setCurrentPasswordText(QString str);
+ void loadDictionaries(QStringList dictionaries);
private slots:
QString cachePath();
QString persistentStoragePath();
@@ -61,6 +64,12 @@ private slots:
void on_applock_checkbox_toggled(bool checked);
+ void on_dictComboBox_currentIndexChanged(const QString &arg1);
+
+ void on_enableSpellCheck_toggled(bool checked);
+
+ void on_showShortcutsButton_clicked();
+
private:
Ui::SettingsWidget *ui;
QString engineCachePath,enginePersistentStoragePath;