summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-20 00:42:12 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-20 00:42:12 +0200
commit7d11112b0c1836695dee398a5122051a0ec99585 (patch)
tree01b1f4be8f1d05f1e2a1c11df3a7df53f488b654 /src/urlbar/listitem.h
parentthis commit renames Item classes with this logic (diff)
downloadrekonq-7d11112b0c1836695dee398a5122051a0ec99585.tar.xz
Fix default engine implementation and fix a bit code
Diffstat (limited to 'src/urlbar/listitem.h')
-rw-r--r--src/urlbar/listitem.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/urlbar/listitem.h b/src/urlbar/listitem.h
index 67bfb764..de42fd03 100644
--- a/src/urlbar/listitem.h
+++ b/src/urlbar/listitem.h
@@ -128,7 +128,6 @@ class EngineBar : public KToolBar
public:
EngineBar(const QString &text, const QString &selectedEngine, QWidget *parent = 0);
- static QString defaultEngine();
void selectNextEngine();
KUrl url() { return m_url; };
@@ -164,12 +163,12 @@ private slots:
private:
QString searchItemTitle(QString engine, QString text);
+
TextLabel* m_titleLabel;
IconLabel* m_iconLabel;
EngineBar* m_engineBar;
- QString m_text;
- static QString m_currentEngine;
+ QString m_text;
};
@@ -215,7 +214,7 @@ public:
class ListItemFactory
{
public:
- static ListItem *create(const UrlSearchItem &item, const QString &text, QWidget *parent = 0);
+ static ListItem *create(const UrlSearchItem &item, const QString &text, QWidget *parent);
};