summaryrefslogtreecommitdiffstats
path: root/kio/tests/previewtest.h
blob: a749e95a3911cbf90de3284b7c3a3043b836acd2 (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(TDEIO::Job *);
    void slotPreview( const KFileItem *, const TQPixmap & );
    void slotFailed();

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