diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-04-11 20:02:50 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-04-11 20:02:50 +0200 |
commit | 6e40be23ae449bf5f4f5dc3babf936e9efe07594 (patch) | |
tree | 5b1ddfe64e5fb10136516b9a4743e65f2f0df58f /src/mainview.h | |
parent | Added some functions comment (diff) | |
download | rekonq-6e40be23ae449bf5f4f5dc3babf936e9efe07594.tar.xz |
animated loading. Imported following (a bit) Arora code..
Diffstat (limited to 'src/mainview.h')
-rw-r--r-- | src/mainview.h | 13 |
1 files changed, 12 insertions, 1 deletions
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 |