summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-14 19:56:26 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-14 19:56:26 +0200
commit0576f6b1542b80963afa20227c7fe53e53f111e8 (patch)
treefa091938cf5f60f7a12a089eac35f4987fd15c1d /src/mainview.h
parentShow faster url to load (diff)
downloadrekonq-0576f6b1542b80963afa20227c7fe53e53f111e8.tar.xz
This commit reintroduces the QStackedWidget class for urlbars and let
us resize them as needed for themes different from oxygen. This anyway seems working better with the upcoming Qt 4.7
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mainview.h b/src/mainview.h
index 6edccc15..6eacc104 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -40,13 +40,13 @@
#include "application.h"
#include "historymanager.h"
#include "mainwindow.h"
+#include "stackedurlbar.h"
// KDE Includes
#include <KTabWidget>
// Qt Includes
#include <QtGui/QToolButton>
-#include <QStackedWidget>
// Forward Declarations
class QUrl;
@@ -72,7 +72,7 @@ public:
MainView(MainWindow *parent);
~MainView();
- QWidget *urlBarWidget() const;
+ StackedUrlBar *widgetBar() const;
UrlBar *urlBar() const;
WebTab *webTab(int index) const;
@@ -151,7 +151,6 @@ private slots:
void windowCloseRequested();
void postLaunch();
- void movedTab(int, int);
protected:
virtual void resizeEvent(QResizeEvent *event);
@@ -174,7 +173,7 @@ private:
// --------------------------------------------------------------------------
- QStackedWidget *_bars;
+ StackedUrlBar *_widgetBar;
QString m_loadingGitPath;