diff options
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 { |