summaryrefslogtreecommitdiff
path: root/src/webtab.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-09 12:32:58 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-09 12:32:58 +0100
commite8e00372f5e1a881b1ce83a3623208dae7833f4c (patch)
tree86e724a3fe7fdd69420da3d74fc32c6745eb35b2 /src/webtab.h
parentFree MainWindow from PreviewSelectorBar (diff)
downloadrekonq-e8e00372f5e1a881b1ce83a3623208dae7833f4c.tar.xz
HUGE CHANGE on Preview Page Choosing
The idea here is to free rekonq from unuseful weight while browsing and better maintain code. - Moved PreviewSelectorBar to be one of the WebTab bar - (this way position moved to up rather then down) - creation on use && deletion on close (SAVE MEMORY) - free others page for browsing - fix copyright - CLEAN API (is private/public a misconception?) && comments
Diffstat (limited to 'src/webtab.h')
-rw-r--r--src/webtab.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/webtab.h b/src/webtab.h
index ecf8e5b3..7ab5114e 100644
--- a/src/webtab.h
+++ b/src/webtab.h
@@ -51,14 +51,15 @@ public:
KUrl url() const;
QString lastStatusBarText() const;
int progress();
-
+ void createPreviewSelectorBar(int index);
+
private slots:
void setStatusBarText(const QString &string);
void updateProgress(int progress);
void loadFinished(bool);
void createWalletBar(const QString &, const QUrl &);
-
+
private:
WebView *const m_view;
int m_progress;