summaryrefslogtreecommitdiffstats
path: root/kio/tests/previewtest.h
blob: a7e1727d668da32ba6acf8e8e368f7ae4775f04e (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 <tqwidget.h>
#include <kio/job.h>

class KLineEdit;
class TQLabel;
class KFileItem;

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

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

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