From fe2054a73c74b4462c1c528750223b01a6df5f9d Mon Sep 17 00:00:00 2001 From: Christian Klinger Date: Wed, 1 Jun 2016 10:33:41 +0200 Subject: left/right buttons work globally. --- src/dialog.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/dialog.h') diff --git a/src/dialog.h b/src/dialog.h index 49c3bb0..4896225 100644 --- a/src/dialog.h +++ b/src/dialog.h @@ -75,10 +75,14 @@ class Dialog : public QDialog { void onCenterTimer(); void iconDownloaded(const QUrl& url, const QIcon& icon); + void on_leftButton(); + void on_rightButton(); + public slots: void addSessionsAfterDownload(QNetworkReply* reply); void addNewsAfterDownload(QNetworkReply* reply); void addHelpAfterDownload(QNetworkReply* reply); + bool eventFilter(QObject *target, QEvent *event); }; #endif // DIALOG_H -- cgit v1.2.3-55-g7522