diff options
author | Lionel Chauvin <megabigbug@yahoo.fr> | 2010-10-10 11:47:14 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-10-30 11:41:25 +0200 |
commit | 7160eeb650855a207b271d8399e6f7ede96a5011 (patch) | |
tree | bb9e6aa69870b281d50d522ce6329435fa2177a4 /src/urlbar/listitem.h | |
parent | introduce visual suggestion listitem (diff) | |
download | rekonq-7160eeb650855a207b271d8399e6f7ede96a5011.tar.xz |
Images in visual suggestion are now displayed !!
Diffstat (limited to 'src/urlbar/listitem.h')
-rw-r--r-- | src/urlbar/listitem.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/urlbar/listitem.h b/src/urlbar/listitem.h index c662bc24..ab12917a 100644 --- a/src/urlbar/listitem.h +++ b/src/urlbar/listitem.h @@ -234,6 +234,26 @@ public: // ------------------------------------------------------------------------- +class ImageLabel : public QLabel +{ + Q_OBJECT + +public: + ImageLabel(const QString &url, int width, int height, QWidget *parent); + +private: + int m_width; + int m_height; + QByteArray m_data; + +private slots: + void slotData(KIO::Job* job, const QByteArray& data); + void slotResult(KJob* job); +}; + + +// ------------------------------------------------------------------------- + class BrowseListItem : public ListItem { |