summaryrefslogtreecommitdiff
path: root/src/urlbar/urlbar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-19 11:54:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-19 11:54:46 +0200
commit1fda71fe3d8a2cbbfd25a7fc0e687219267c8eb2 (patch)
treec209e6ed958b3a6ee618db2e135e6a6206e6ac46 /src/urlbar/urlbar.h
parentImplementing a new default engine choice for rekonq (diff)
downloadrekonq-1fda71fe3d8a2cbbfd25a7fc0e687219267c8eb2.tar.xz
Suggestions activation on demand
Diffstat (limited to 'src/urlbar/urlbar.h')
-rw-r--r--src/urlbar/urlbar.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/urlbar/urlbar.h b/src/urlbar/urlbar.h
index 3ecd914e..9adc35a3 100644
--- a/src/urlbar/urlbar.h
+++ b/src/urlbar/urlbar.h
@@ -38,6 +38,9 @@
// KDE Includes
#include <KUrl>
+// Qt Includes
+#include <QWeakPointer>
+
// Forward Declarations
class QLinearGradient;
class QWidget;
@@ -69,7 +72,9 @@ protected:
virtual void dropEvent(QDropEvent *event);
private:
- CompletionWidget *_box;
+ void activateSuggestions(bool);
+
+ QWeakPointer<CompletionWidget> _box;
WebTab *_tab;
bool _privateMode;
};