diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-03-13 18:57:24 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-03-13 18:57:24 +0100 |
commit | d387448a61c3c220484b3cc08aac04058c35a645 (patch) | |
tree | 0827a2ae92dcee48e0e4f1012f05b3fdb78ed91b /src/webtab/webtab.h | |
parent | Support Activities (diff) | |
download | rekonq-d387448a61c3c220484b3cc08aac04058c35a645.tar.xz |
Restore activity daemon support
BUG: 315694
Diffstat (limited to 'src/webtab/webtab.h')
-rw-r--r-- | src/webtab/webtab.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/webtab/webtab.h b/src/webtab/webtab.h index 5fc06994..1f501323 100644 --- a/src/webtab/webtab.h +++ b/src/webtab/webtab.h @@ -43,6 +43,9 @@ #include <QWebInspector> #include <QSplitter> +// Config +#include <config-kactivities.h> + // Forward Declarations class NotificationBar; class PreviewSelectorBar; @@ -52,6 +55,10 @@ class WebPage; class WebWindow; +#ifdef HAVE_KACTIVITIES +namespace KActivities { class ResourceInstance; } +#endif + class REKONQ_TESTS_EXPORT WebTab : public QWidget { @@ -84,6 +91,9 @@ public: KParts::ReadOnlyPart *part(); void setPart(KParts::ReadOnlyPart *p, const KUrl &u); + + void focusIn(); + void focusOut(); private Q_SLOTS: void updateProgress(int progress); @@ -140,6 +150,10 @@ private: bool m_isPrivateBrowsing; QSplitter *m_splitter; + +#ifdef HAVE_KACTIVITIES + KActivities::ResourceInstance *m_activityResourceInstance; +#endif }; #endif |