summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9drawimage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 23:37:00 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 23:37:00 +0000
commitb0e912c8b3d02a518fedda28c3180eb4794a7520 (patch)
tree07d344862562fab58cbe2df39d13d16f2e4d2bea /libk9copy/k9drawimage.h
parent4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff)
downloadk9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz
k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk9copy/k9drawimage.h')
-rw-r--r--libk9copy/k9drawimage.h17
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 <[email protected]>
*/
-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