summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorLibravatar Mubashshir <[email protected]>2023-03-07 23:12:03 +0600
committerLibravatar Mubashshir <[email protected]>2023-03-07 23:12:03 +0600
commit594d9515ac0bc0adf50ae288b85e31c10bd90d27 (patch)
tree1e583e74017f99f48179235ec1e927e8d17bf7a4 /src/mainwindow.h
parentd830bfc8ce7c6763d074beafdde7cab1835d31f9 (diff)
downloadwhatsie-upstream/4.12.1.tar.gz
whatsie-upstream/4.12.1.zip
New upstream version 4.12.1upstream/4.12.1
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 98dbf8b..4ca25d5 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -91,11 +91,11 @@ private:
QSystemTrayIcon *trayIcon;
QWebEngineView *webEngine;
SettingsWidget *settingsWidget = nullptr;
- DownloadManagerWidget m_downloadManagerWidget;
- QScopedPointer<QWebEngineProfile> m_otrProfile;
+ DownloadManagerWidget downloadManagerWidget;
+ QScopedPointer<QWebEngineProfile> otrProfile;
Lock *lockWidget = nullptr;
int correctlyLoaderRetries = 4;
- QStringList m_dictionaries;
+ QStringList dictionaries;
AutoLockEventFilter *autoLockEventFilter = nullptr;
private slots:
@@ -121,7 +121,7 @@ private slots:
void quitApp();
void initRateWidget();
void initThemes();
- void handleZoomOnWindowStateChange(QWindowStateChangeEvent *ev);
+ void handleZoomOnWindowStateChange(const QWindowStateChangeEvent *ev);
void handleZoom();
void changeLockPassword();
void forceLogOut();
@@ -129,13 +129,8 @@ private slots:
bool isLoggedIn();
void initAutoLock();
void appAutoLockChanged();
- void injectNewChatJavaScript();
void triggerNewChat(QString phone, QString text);
void restoreMainWindow();
- void injectFullWidthJavaScript();
- void injectMutationObserver();
- void injectClassChangeObserver();
- void injectPreventScrollWheelZoomHelper();
};
#endif // MAINWINDOW_H