summaryrefslogtreecommitdiffstats
path: root/kviewshell/sizePreview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kviewshell/sizePreview.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/sizePreview.h')
-rw-r--r--kviewshell/sizePreview.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/kviewshell/sizePreview.h b/kviewshell/sizePreview.h
index 4d5a5b3b..96e37a04 100644
--- a/kviewshell/sizePreview.h
+++ b/kviewshell/sizePreview.h
@@ -11,8 +11,8 @@
#ifndef SIZEPREVIEW_H
#define SIZEPREVIEW_H
-#include <qpixmap.h>
-#include <qwidget.h>
+#include <tqpixmap.h>
+#include <tqwidget.h>
class SimplePageSize;
@@ -21,7 +21,7 @@ class SizePreview : public QWidget
Q_OBJECT
public:
- SizePreview( QWidget *parent, const char* name=0, WFlags f=0 );
+ SizePreview( TQWidget *parent, const char* name=0, WFlags f=0 );
public slots:
// Sets the size.
@@ -31,8 +31,8 @@ public slots:
void setOrientation(int ori);
protected:
- void paintEvent(QPaintEvent*);
- void resizeEvent(QResizeEvent*);
+ void paintEvent(TQPaintEvent*);
+ void resizeEvent(TQResizeEvent*);
private:
int orientation; // 0 = portrait, other = landscape
@@ -41,7 +41,7 @@ private:
float _width; // in mm
float _height; // in mm
- QPixmap pixmap;
+ TQPixmap pixmap;
};
#endif