summaryrefslogtreecommitdiffstats
path: root/kio/tests/previewtest.h
blob: 52c10f240b3a24d816919105aca38c0d3ae0f252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#include <qwidget.h>
#include <kio/job.h>

class KLineEdit;
class QLabel;
class KFileItem;

class PreviewTest : public QWidget
{
    Q_OBJECT
public:
    PreviewTest();

private slots:
    void slotGenerate();
    void slotResult(KIO::Job *);
    void slotPreview( const KFileItem *, const QPixmap & );
    void slotFailed();

private:
    KLineEdit *m_url;
    QLabel *m_preview;
};