aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 1f966bd..c3c82a2 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -34,6 +34,7 @@
#include "settingswidget.h"
#include "webenginepage.h"
#include "webview.h"
+#include "autolockeventfilter.h"
class MainWindow : public QMainWindow {
Q_OBJECT
@@ -84,6 +85,7 @@ private:
Lock *lockWidget = nullptr;
int correctlyLoaderRetries = 4;
QStringList m_dictionaries;
+ AutoLockEventFilter *autoLockEventFilter = nullptr;
private slots:
@@ -121,6 +123,8 @@ private slots:
void forceLogOut();
void tryLogOut();
bool isLoggedIn();
+ void initAutoLock();
+ void appAutoLockChanged();
};
#endif // MAINWINDOW_H