diff options
author | Simon Rettberg | 2018-01-15 12:07:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-01-15 12:07:41 +0100 |
commit | 9bca81b853bf66e58a8357a094c93808b2e38445 (patch) | |
tree | f911272a666ecc19f54d0a8b44b4f05685ab1681 /src/slxbrowser.h | |
parent | Change --full-screen to --fullscreen (diff) | |
download | slxbrowser-9bca81b853bf66e58a8357a094c93808b2e38445.tar.gz slxbrowser-9bca81b853bf66e58a8357a094c93808b2e38445.tar.xz slxbrowser-9bca81b853bf66e58a8357a094c93808b2e38445.zip |
Add --reload-interval option to periodically reload the passed URL
Diffstat (limited to 'src/slxbrowser.h')
-rw-r--r-- | src/slxbrowser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slxbrowser.h b/src/slxbrowser.h index dc357dd..acbb7d8 100644 --- a/src/slxbrowser.h +++ b/src/slxbrowser.h @@ -15,7 +15,7 @@ class SLXbrowser : public QMainWindow { Q_OBJECT public: - SLXbrowser(QString url, bool fullscreen, bool ignoreSslErrors); + SLXbrowser(QString url, bool fullscreen, bool ignoreSslErrors, int reloadInterval); virtual ~SLXbrowser(); private slots: @@ -34,6 +34,7 @@ private: QTimer _reset; QList<QSslError> _sslErrors; QString _normalError; + int _reloadIntervalMs; }; #endif /* SLXBROWSER_H_ */ |