cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
32 lines
474 B
C++
32 lines
474 B
C++
#ifndef PREVIEWTEST_H
|
|
#define PREVIEWTEST_H
|
|
|
|
#include <QWidget>
|
|
|
|
class QLineEdit;
|
|
class QLabel;
|
|
|
|
class KFileItem;
|
|
class KJob;
|
|
class KUrlRequester;
|
|
|
|
class PreviewTest : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
PreviewTest();
|
|
|
|
private Q_SLOTS:
|
|
void slotGenerate();
|
|
void slotResult(KJob *);
|
|
void slotPreview(const KFileItem &, const QPixmap &);
|
|
void slotFailed();
|
|
|
|
private:
|
|
KUrlRequester *m_url;
|
|
QLineEdit *m_plugins;
|
|
QLabel *m_preview;
|
|
};
|
|
|
|
#endif
|