summaryrefslogtreecommitdiff
path: root/src/urlbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbar.h')
-rw-r--r--src/urlbar.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/urlbar.h b/src/urlbar.h
index a670fca6..3180920a 100644
--- a/src/urlbar.h
+++ b/src/urlbar.h
@@ -1,6 +1,6 @@
/* ============================================================
 *
- * This file is a part of the reKonq project
+ * This file is a part of the rekonq project
 *
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
@@ -30,12 +30,12 @@
#include <QtGui>
-class UrlBar : public KHistoryComboBox
+class UrlBar : public QWidget
{
Q_OBJECT
public:
- UrlBar(KHistoryComboBox *parent = 0);
+ UrlBar(QWidget *parent = 0);
~UrlBar();
QLineEdit *lineEdit();
@@ -46,15 +46,16 @@ private slots:
void webViewIconChanged();
protected:
- void paintEvent( QPaintEvent * );
+// void paintEvent( QPaintEvent * );
+// void resizeEvent( QResizeEvent * );
private:
QLinearGradient generateGradient(const QColor &color) const;
- WebView *m_webView;
-
- QLineEdit *m_lineEdit;
- QColor m_defaultBaseColor;
+ KHistoryComboBox* m_historyComboBox;
+ WebView* m_webView;
+ QLineEdit* m_lineEdit;
+ QColor m_defaultBaseColor;
};
#endif