summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.h
diff options
context:
space:
mode:
authorLionel Chauvin <megabigbug@yahoo.fr>2010-10-10 11:47:14 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-10-30 11:41:25 +0200
commit7160eeb650855a207b271d8399e6f7ede96a5011 (patch)
treebb9e6aa69870b281d50d522ce6329435fa2177a4 /src/urlbar/listitem.h
parentintroduce visual suggestion listitem (diff)
downloadrekonq-7160eeb650855a207b271d8399e6f7ede96a5011.tar.xz
Images in visual suggestion are now displayed !!
Diffstat (limited to 'src/urlbar/listitem.h')
-rw-r--r--src/urlbar/listitem.h20
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
{