diff options
Diffstat (limited to 'src/mainview.h')
-rw-r--r-- | src/mainview.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/mainview.h b/src/mainview.h index cd71ca2c..147096d9 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -39,6 +39,7 @@ class QCompleter; class QStackedWidget; class QLineEdit; class QUrl; +class QLabel; /** @@ -136,6 +137,17 @@ private: */ void moveTab(int fromIndex, int toIndex); + /** + * This function creates (if not exists) and returns a QLabel + * with a loading QMovie. + * Inspired from Arora's code. + * + * @param index the tab index where inserting the animated label + * + * @return animated label's pointer + */ + QLabel *animatedLoading(int index); + KAction *m_recentlyClosedTabsAction; KMenu *m_recentlyClosedTabsMenu; @@ -146,7 +158,7 @@ private: QStackedWidget *m_lineEdits; TabBar *m_tabBar; - QString loadingGitPath; + QString m_loadingGitPath; }; #endif |