You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
386 B
26 lines
386 B
|
|
#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;
|
|
};
|
|
|