summaryrefslogtreecommitdiff
path: root/src/urlbar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-14 16:54:45 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-14 16:54:45 +0100
commit439e23791714ff99876b8cca3afd6225445e75fc (patch)
tree80895c6703dc7748be73f9bd811cbc92fce5c5c6 /src/urlbar.h
parentFixing searchbar dimension && position (diff)
downloadrekonq-439e23791714ff99876b8cca3afd6225445e75fc.tar.xz
Last changes..
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