From e8e00372f5e1a881b1ce83a3623208dae7833f4c Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 9 Feb 2010 12:32:58 +0100 Subject: 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 --- src/webtab.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/webtab.h') 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; -- cgit v1.2.1