File indexing completed on 2024-05-19 03:58:30

0001 #ifndef PREVIEWTEST_H
0002 #define PREVIEWTEST_H
0003 
0004 #include <QWidget>
0005 
0006 class QLineEdit;
0007 class QLabel;
0008 
0009 class KFileItem;
0010 class KJob;
0011 
0012 class PreviewTest : public QWidget
0013 {
0014     Q_OBJECT
0015 public:
0016     PreviewTest();
0017 
0018 private Q_SLOTS:
0019     void slotGenerate();
0020     void slotResult(KJob *);
0021     void slotPreview(const KFileItem &, const QPixmap &);
0022     void slotFailed();
0023 
0024 private:
0025     QLineEdit *m_url;
0026     QLineEdit *m_plugins;
0027     QLabel *m_preview;
0028 };
0029 
0030 #endif