summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-20 15:37:21 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-20 15:37:21 +0200
commitc39497cca6a6fb80a4658572d45bec53d561f1ed (patch)
treea1cb9c4781f92e7450e353efcf1e349fbcc31d7e /src/urlbar/listitem.h
parentOpenSearch review (diff)
parentfix suggestion item: use the correct search engine (diff)
downloadrekonq-c39497cca6a6fb80a4658572d45bec53d561f1ed.tar.xz
Merge commit 'refs/merge-requests/169' of git://gitorious.org/rekonq/mainline into opensearch
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;
};