diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-11-19 01:32:04 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-11-19 01:32:04 +0100 |
commit | fe21365ffafb922a6b24959f3d1096e4c6171427 (patch) | |
tree | 7380e1486a65ab57e39a663442876ff1912715d3 /src/webtab.h | |
parent | API clean up (diff) | |
download | rekonq-fe21365ffafb922a6b24959f3d1096e4c6171427.tar.xz |
Print && Find actions for the parts :)
- handle print & find with different signals in mainwindow
- show right tab title (moving titleChanged signal from view to tab)
Diffstat (limited to 'src/webtab.h')
-rw-r--r-- | src/webtab.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/webtab.h b/src/webtab.h index 3fd4f793..abab5d73 100644 --- a/src/webtab.h +++ b/src/webtab.h @@ -35,6 +35,9 @@ // Local Includes #include "webview.h" +// KDE Includes +#include <KParts/Part> + // Qt Includes #include <QtGui/QWidget> @@ -65,16 +68,20 @@ public: bool hasRSSInfo(); bool isPageLoading(); -private slots: + KParts::ReadOnlyPart *part() { return _part; } + void setPart(KParts::ReadOnlyPart *p, const KUrl &u); + +private Q_SLOTS: void updateProgress(int progress); void loadFinished(bool); void createWalletBar(const QString &, const QUrl &); void showRSSInfo(QPoint pos); -signals: +Q_SIGNALS: void loadProgressing(); - + void titleChanged(const QString &); + private: WebView *_view; UrlBar *_bar; @@ -83,6 +90,8 @@ private: QWeakPointer<WalletBar> _walletBar; QWeakPointer<PreviewSelectorBar> _previewSelectorBar; + + KParts::ReadOnlyPart *_part; }; #endif |