From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksnapshot/regiongrabber.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'ksnapshot/regiongrabber.h') diff --git a/ksnapshot/regiongrabber.h b/ksnapshot/regiongrabber.h index ee9a8238..5a9d28b9 100644 --- a/ksnapshot/regiongrabber.h +++ b/ksnapshot/regiongrabber.h @@ -20,19 +20,19 @@ #ifndef REGIONGRABBER_H #define REGIONGRABBER_H -#include -#include +#include +#include -class QTimer; +class TQTimer; class SizeTip : public QLabel { public: - SizeTip( QWidget *parent, const char *name=0 ); + SizeTip( TQWidget *parent, const char *name=0 ); ~SizeTip() {} - void setTip( const QRect &rect ); - void positionTip( const QRect &rect ); + void setTip( const TQRect &rect ); + void positionTip( const TQRect &rect ); }; class RegionGrabber : public QWidget @@ -48,22 +48,22 @@ class RegionGrabber : public QWidget void updateSizeTip(); signals: - void regionGrabbed( const QPixmap & ); + void regionGrabbed( const TQPixmap & ); protected: - void mousePressEvent( QMouseEvent *e ); - void mouseReleaseEvent( QMouseEvent *e ); - void mouseMoveEvent( QMouseEvent *e ); - void keyPressEvent( QKeyEvent *e ); + void mousePressEvent( TQMouseEvent *e ); + void mouseReleaseEvent( TQMouseEvent *e ); + void mouseMoveEvent( TQMouseEvent *e ); + void keyPressEvent( TQKeyEvent *e ); void drawRubber(); bool mouseDown; - QRect grabRect; - QPixmap pixmap; + TQRect grabRect; + TQPixmap pixmap; SizeTip *sizeTip; - QTimer *tipTimer; + TQTimer *tipTimer; }; #endif // REGIONGRABBER_H -- cgit v1.2.1