summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.h
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2010-08-19 21:34:46 +0200
committermegabigbug <megabigbug@arrakis.(none)>2010-08-19 21:34:46 +0200
commit802d8d468189308394e06cf25fe9c74699aa96ec (patch)
tree04c58d6e41e5467883712a3f0e77d7122bd2c63d /src/urlbar/listitem.h
parentworking opensearch suggestions (diff)
downloadrekonq-802d8d468189308394e06cf25fe9c74699aa96ec.tar.xz
fix suggestion item: use the correct search engine
Diffstat (limited to 'src/urlbar/listitem.h')
-rw-r--r--src/urlbar/listitem.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/urlbar/listitem.h b/src/urlbar/listitem.h
index 0e1a7ad5..06a02b80 100644
--- a/src/urlbar/listitem.h
+++ b/src/urlbar/listitem.h
@@ -61,7 +61,8 @@ public:
void deactivate();
KUrl url();
-
+ virtual QString text();
+
public slots:
virtual void nextItemSubChoice();
@@ -153,6 +154,7 @@ class SearchListItem : public ListItem
public:
explicit SearchListItem(const UrlSearchItem &item, const QString &text, QWidget *parent = 0);
+ QString text();
public slots:
virtual void nextItemSubChoice();
@@ -180,6 +182,10 @@ class SuggestionListItem : public ListItem
public:
SuggestionListItem(const UrlSearchItem &item, const QString &text, QWidget *parent = 0);
+ QString text();
+
+private:
+ QString m_text;
};