diff options
Diffstat (limited to 'src/mainwindow.hpp')
| -rw-r--r-- | src/mainwindow.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainwindow.hpp b/src/mainwindow.hpp index 8b092f3..7602ac5 100644 --- a/src/mainwindow.hpp +++ b/src/mainwindow.hpp @@ -20,6 +20,8 @@ class BrowserTab; enum class UIDensity : int; +enum class RequestState : int; + class MainWindow : public QMainWindow { Q_OBJECT @@ -96,6 +98,8 @@ private: // slots void on_tab_fileLoaded(DocumentStats const & stats); + void on_tab_requestStateChanged(RequestState state); + void on_tab_titleChanged(QString const & title); void on_tab_locationChanged(QUrl const & url); @@ -106,6 +110,8 @@ private: // slots private: void setFileStatus(DocumentStats const & stats); + void setRequestState(RequestState state); + public: QApplication * application; @@ -117,5 +123,8 @@ private: QLabel * file_cached; QLabel * file_mime; QLabel * load_time; + + QString request_status; + bool previewing_url = false; }; #endif // MAINWINDOW_HPP |
