summaryrefslogtreecommitdiff
path: root/src/urlbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbar.h')
-rw-r--r--src/urlbar.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/urlbar.h b/src/urlbar.h
index 5d766a92..fcebc6f9 100644
--- a/src/urlbar.h
+++ b/src/urlbar.h
@@ -24,23 +24,21 @@
#include "webview.h"
// KDE Includes
-#include <KLineEdit>
-#include <KComboBox>
+#include <KHistoryComboBox>
// Qt Includes
-#include <QWidget>
-#include <QLabel>
+#include <QtGui>
-class UrlBar : public QWidget
+class UrlBar : public KHistoryComboBox
{
Q_OBJECT
public:
- UrlBar(QWidget *parent = 0);
+ UrlBar(KHistoryComboBox *parent = 0);
~UrlBar();
- KLineEdit *lineEdit();
+ QLineEdit *lineEdit();
void setWebView(WebView *webView);
private slots:
@@ -52,8 +50,7 @@ private:
WebView *m_webView;
- QLabel *m_iconLabel;
- KLineEdit *m_lineEdit;
+ QLineEdit *m_lineEdit;
QColor m_defaultBaseColor;
};