diff options
Diffstat (limited to 'ksnapshot/regiongrabber.h')
-rw-r--r-- | ksnapshot/regiongrabber.h | 28 |
1 files changed, 14 insertions, 14 deletions
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 <qlabel.h> -#include <qpixmap.h> +#include <tqlabel.h> +#include <tqpixmap.h> -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 |