diff options
Diffstat (limited to 'libk9copy/k9drawimage.h')
-rw-r--r-- | libk9copy/k9drawimage.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/libk9copy/k9drawimage.h b/libk9copy/k9drawimage.h index 87c8f9b..ebe0d9f 100644 --- a/libk9copy/k9drawimage.h +++ b/libk9copy/k9drawimage.h @@ -12,25 +12,26 @@ #ifndef K9DRAWIMAGE_H #define K9DRAWIMAGE_H -#include <qwidget.h> -#include <qpixmap.h> +#include <tqwidget.h> +#include <tqpixmap.h> /** @author Jean-Michel PETIT <k9copy@free.fr> */ -class k9DrawImage : public QWidget +class k9DrawImage : public TQWidget { Q_OBJECT + TQ_OBJECT public: - k9DrawImage(QWidget *parent = 0, const char *name = 0); - void setImage(QString _fileName); - void setImage(const QImage &_image); + k9DrawImage(TQWidget *tqparent = 0, const char *name = 0); + void setImage(TQString _fileName); + void setImage(const TQImage &_image); ~k9DrawImage(); private: - QPixmap m_pixmap; + TQPixmap m_pixmap; protected: - void paintEvent ( QPaintEvent *); + void paintEvent ( TQPaintEvent *); }; #endif |