summaryrefslogtreecommitdiffstats
path: root/kio/tests/previewtest.h
blob: 27d7974035c183f84d617b9b620b6bf3b859a732 (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 TQWidget
{
    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;
};