summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-01-24 19:17:58 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-01-24 19:17:58 +0100
commitb87a805af7b066159ff4f10ff9c30fd7428ea706 (patch)
treeebce1dea818a54bd51fbcff0074df793e4f09904 /src/mainwindow.h
parentHere we are, with this commit I removed a lot of direct calls to (diff)
downloadrekonq-b87a805af7b066159ff4f10ff9c30fd7428ea706.tar.xz
Fixing panels
With this commit I fixed panel behaviour && saved some bytes in their definition. This will help hacking there (they are pretty the same now, I just have no time to let them inherit from a parent "rekonq panel" class) and will save some bytes in rekonq footprint :)
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 49dc2a59..7083591d 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -46,9 +46,9 @@ class KAction;
class KPassivePopup;
class FindBar;
-class SidePanel;
+class HistoryPanel;
class BookmarksPanel;
-class WebInspectorDock;
+class WebInspectorPanel;
class WebTab;
class MainView;
@@ -77,15 +77,8 @@ private:
void setupActions();
void setupTools();
void setupToolbars();
-
- void setupSidePanel();
- SidePanel *sidePanel();
-
- void setupBookmarksPanel();
- BookmarksPanel *bookmarksPanel();
+ void setupPanels();
- void setupWebInspector();
-
public slots:
void updateBrowser();
void homePage();
@@ -159,9 +152,10 @@ private slots:
private:
MainView *m_view;
FindBar *m_findBar;
- SidePanel *m_sidePanel;
+
+ HistoryPanel *m_historyPanel;
BookmarksPanel *m_bookmarksPanel;
- WebInspectorDock *m_webInspectorDock;
+ WebInspectorPanel *m_webInspectorPanel;
KAction *m_stopReloadAction;
KMenu *m_historyBackMenu;
@@ -178,4 +172,3 @@ private:
};
#endif // MAINWINDOW_H
-