summaryrefslogtreecommitdiff
path: root/src/urlbar/completionwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbar/completionwidget.h')
-rw-r--r--src/urlbar/completionwidget.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/urlbar/completionwidget.h b/src/urlbar/completionwidget.h
index 64d33189..a714bb17 100644
--- a/src/urlbar/completionwidget.h
+++ b/src/urlbar/completionwidget.h
@@ -33,32 +33,26 @@
#include "urlresolver.h"
#include "listitem.h"
-// Qt Includes
-#include <QFrame>
-
// KDE Includes
#include <KLineEdit>
-// Forward Declarations
-class KUrl;
+// Qt Includes
+#include <QFrame>
class CompletionWidget : public QFrame
{
-Q_OBJECT
+ Q_OBJECT
public:
CompletionWidget(QWidget *parent);
void insertSearchList(const UrlSearchList &list);
void popup();
-
- void up();
- void down();
void clear();
+
virtual bool eventFilter(QObject *obj, QEvent *ev);
void setVisible(bool visible);
- KUrl currentUrl();
private slots:
void itemChosen(ListItem *item, Qt::MouseButton = Qt::LeftButton);
@@ -68,7 +62,9 @@ signals:
private:
void sizeAndPosition();
-
+ void up();
+ void down();
+
QWidget *_parent;
UrlSearchList _list;