diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-09 01:28:57 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-09 01:28:57 +0100 |
commit | 22f4427d614344550ca6949695aa3456d3789165 (patch) | |
tree | 3c6af1300573baa4b5061d522d225cf373e3773f /src/urlbar.h | |
parent | Add destrctors'code, as needed. Fixed closing application bug. (diff) | |
download | rekonq-22f4427d614344550ca6949695aa3456d3789165.tar.xz |
made the urlbar a KHistoryComboBox. Really beautiful widget!!
Diffstat (limited to 'src/urlbar.h')
-rw-r--r-- | src/urlbar.h | 15 |
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; }; |