summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_paintop.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/core/kis_paintop.h')
-rw-r--r--krita/core/kis_paintop.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/krita/core/kis_paintop.h b/krita/core/kis_paintop.h
index 6a6efddc..8e8587ea 100644
--- a/krita/core/kis_paintop.h
+++ b/krita/core/kis_paintop.h
@@ -23,7 +23,7 @@
#ifndef KIS_PAINTOP_H_
#define KIS_PAINTOP_H_
-#include <qstring.h>
+#include <tqstring.h>
#include <ksharedptr.h>
#include <klocale.h>
@@ -41,7 +41,7 @@ class KisAlphaMask;
class KisPainter;
class KisColorSpace;
class KisInputDevice;
-class QWidget;
+class TQWidget;
/**
* This class keeps information that can be used in the painting process, for example by
@@ -79,14 +79,14 @@ public:
protected:
- virtual KisPaintDeviceSP computeDab(KisAlphaMaskSP mask);
- virtual KisPaintDeviceSP computeDab(KisAlphaMaskSP mask, KisColorSpace *cs);
+ virtual KisPaintDeviceSP computeDab(KisAlphaMaskSP tqmask);
+ virtual KisPaintDeviceSP computeDab(KisAlphaMaskSP tqmask, KisColorSpace *cs);
/**
* Split the coordinate into whole + fraction, where fraction is always >= 0.
*/
- virtual void splitCoordinate(double coordinate, Q_INT32 *whole, double *fraction);
+ virtual void splitCoordinate(double coordinate, TQ_INT32 *whole, double *fraction);
KisPainter * m_painter;
KisPaintDeviceSP m_source; // use this layer as source layer for the operation
@@ -97,10 +97,10 @@ private:
class KisPaintOpSettings {
public:
- KisPaintOpSettings(QWidget *parent) { Q_UNUSED(parent); }
+ KisPaintOpSettings(TQWidget *tqparent) { Q_UNUSED(tqparent); }
virtual ~KisPaintOpSettings() {}
- virtual QWidget *widget() const { return 0; }
+ virtual TQWidget *widget() const { return 0; }
};
/**
@@ -121,7 +121,7 @@ public:
/**
* The filename of the pixmap we can use to represent this paintop in the ui.
*/
- virtual QString pixmap() { return ""; }
+ virtual TQString pixmap() { return ""; }
/**
* Whether this paintop is internal to a certain tool or can be used
@@ -135,7 +135,7 @@ public:
* specified input device. Return 0 if there are no settings available for the given
* device.
*/
- virtual KisPaintOpSettings* settings(QWidget* parent, const KisInputDevice& inputDevice);
+ virtual KisPaintOpSettings* settings(TQWidget* tqparent, const KisInputDevice& inputDevice);
};
#endif // KIS_PAINTOP_H_