mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00

most of the changes were done trought Katie's namefsck script which convertes forward class declarations to include directives, however other fixes here and there were needed as well as some questionable changes to Q_DECLARE_TYPEINFO() macro calls because they most likely have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and probably will be in Katie) meaning that some of the changes may be temporary and reverted later. Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
25 lines
387 B
C++
25 lines
387 B
C++
|
|
#include <qwidget.h>
|
|
#include <kio/job.h>
|
|
|
|
class KLineEdit;
|
|
#include <QLabel>
|
|
class KFileItem;
|
|
|
|
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:
|
|
KLineEdit *m_url;
|
|
QLabel *m_preview;
|
|
};
|
|
|