From d387448a61c3c220484b3cc08aac04058c35a645 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 13 Mar 2013 18:57:24 +0100 Subject: Restore activity daemon support BUG: 315694 --- src/webtab/webtab.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/webtab/webtab.h') 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 #include +// Config +#include + // 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 -- cgit v1.2.1