From 6e40be23ae449bf5f4f5dc3babf936e9efe07594 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 11 Apr 2009 20:02:50 +0200 Subject: animated loading. Imported following (a bit) Arora code.. --- src/mainview.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/mainview.h') diff --git a/src/mainview.h b/src/mainview.h index 6514c026..77d1d050 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -39,6 +39,7 @@ class QCompleter; class QStackedWidget; class QLineEdit; class QUrl; +class QLabel; /** @@ -141,6 +142,16 @@ private: */ void moveTab(int fromIndex, int toIndex); + /** + * This function creates (if not exists) and returns a QLabel + * with a loading QMovie. + * + * @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; @@ -151,7 +162,7 @@ private: QStackedWidget *m_lineEdits; TabBar *m_tabBar; - QString loadingGitPath; + QString m_loadingGitPath; }; #endif -- cgit v1.2.1