diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-20 19:30:26 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-20 19:30:26 +0200 |
commit | aa05bd3973a2f39f50c14314840f0fe078f16444 (patch) | |
tree | dd21ae094321ca9f0b803379ad7e93a6b065ec10 /src/urlbar/listitem.h | |
parent | bk toolbar by default for the next rekonq. (diff) | |
parent | Change from QByteArray to QString in the right way (diff) | |
download | rekonq-aa05bd3973a2f39f50c14314840f0fe078f16444.tar.xz |
Merge branch 'opensearch'
Conflicts:
src/CMakeLists.txt
src/urlbar/urlresolver.cpp
Diffstat (limited to 'src/urlbar/listitem.h')
-rw-r--r-- | src/urlbar/listitem.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/urlbar/listitem.h b/src/urlbar/listitem.h index dcb4f76d..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(); @@ -174,6 +176,22 @@ private: // ------------------------------------------------------------------------- +class SuggestionListItem : public ListItem +{ + Q_OBJECT + +public: + SuggestionListItem(const UrlSearchItem &item, const QString &text, QWidget *parent = 0); + QString text(); + +private: + QString m_text; +}; + + +// ------------------------------------------------------------------------- + + class PreviewListItem : public ListItem { Q_OBJECT |