diff options
author | 2021-04-11 02:03:36 +0530 | |
---|---|---|
committer | 2021-04-11 02:03:36 +0530 | |
commit | 9f096f17f19dfdae57d51d81343cb4fecb5beb34 (patch) | |
tree | 363bb4bbaffde37e59e6bc36b772693d3f6e1692 /src/mainwindow.h | |
parent | c988b866d56dc7e99097567b9ce400c4a5f94394 (diff) | |
download | whatsie-9f096f17f19dfdae57d51d81343cb4fecb5beb34.tar.gz whatsie-9f096f17f19dfdae57d51d81343cb4fecb5beb34.zip |
code clean up and theme switching issue fix, notification pop-up theme fix.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index db8e958..75948e9 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -46,6 +46,11 @@ public slots: void updateWindowTheme(); void updatePageTheme(); + void handleWebViewTitleChanged(QString title); + void handleLoadStarted(); + void handleLoadProgress(int progress); + void handleLoadFinished(bool loaded); + void handleDownloadRequested(QWebEngineDownloadItem *download); protected slots: void closeEvent(QCloseEvent *event) override; @@ -94,10 +99,6 @@ private: private slots: - void handleWebViewTitleChanged(QString title); - void handleLoadStarted(); - void handleLoadProgress(int progress); - void handleDownloadRequested(QWebEngineDownloadItem *download); void iconActivated(QSystemTrayIcon::ActivationReason reason); void messageClicked(); void doReload(); @@ -105,7 +106,6 @@ private slots: void notify(QString title, QString message); void showSettings(); void handleCookieAdded(const QNetworkCookie &cookie); - void handleLoadFinished(bool loaded); QString getPageTheme(); void toggleMute(const bool checked); @@ -124,6 +124,7 @@ private slots: void checkLoadedCorrectly(); void loadingQuirk(QString test); + void setNotificationPresenter(QWebEngineProfile *profile); }; #endif // MAINWINDOW_H |