summaryrefslogtreecommitdiffstats
path: root/krita/plugins/viewplugins/screenshot/regiongrabber.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/plugins/viewplugins/screenshot/regiongrabber.h')
-rw-r--r--krita/plugins/viewplugins/screenshot/regiongrabber.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/krita/plugins/viewplugins/screenshot/regiongrabber.h b/krita/plugins/viewplugins/screenshot/regiongrabber.h
index 74bf78c9..b1da1049 100644
--- a/krita/plugins/viewplugins/screenshot/regiongrabber.h
+++ b/krita/plugins/viewplugins/screenshot/regiongrabber.h
@@ -21,24 +21,25 @@
#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
+class SizeTip : public TQLabel
{
public:
- SizeTip( QWidget *parent, const char *name=0 );
+ SizeTip( TQWidget *tqparent, 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
+class RegionGrabber : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
RegionGrabber();
@@ -49,22 +50,22 @@ protected slots:
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