diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-20 10:22:17 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-20 10:22:17 -0500 |
commit | 0942bcca3aafe09fe4dbd3cab7a7767bf672e397 (patch) | |
tree | cda5705f039fb45270fab95c745cc36959e2f107 /doc/chalk | |
parent | eca807732adb25767ed2a31907cd53a9872fd68d (diff) | |
download | koffice-0942bcca3aafe09fe4dbd3cab7a7767bf672e397.tar.gz koffice-0942bcca3aafe09fe4dbd3cab7a7767bf672e397.zip |
Update for recent TQ changes.
Diffstat (limited to 'doc/chalk')
-rw-r--r-- | doc/chalk/developers-plugins.docbook | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/chalk/developers-plugins.docbook b/doc/chalk/developers-plugins.docbook index c63258b5..9c0ace37 100644 --- a/doc/chalk/developers-plugins.docbook +++ b/doc/chalk/developers-plugins.docbook @@ -592,7 +592,7 @@ void KisFilterInvert::process(KisPaintDeviceSP src, KisPaintDeviceSP dst, setProgressTotalSteps(rect.width() * rect.height()); KisColorSpace * cs = src->colorSpace(); - Q_INT32 psize = cs->pixelSize(); + TQ_INT32 psize = cs->pixelSize(); while( ! srcIt.isDone() ) { @@ -718,7 +718,7 @@ class KisOilPaintFilterConfiguration : public KisFilterConfiguration public: - KisOilPaintFilterConfiguration(Q_UINT32 brushSize, Q_UINT32 smooth) + KisOilPaintFilterConfiguration(TQ_UINT32 brushSize, TQ_UINT32 smooth) : KisFilterConfiguration( "oilpaint", 1 ) { setProperty("brushSize", brushSize); @@ -726,8 +726,8 @@ public: }; public: - inline Q_UINT32 brushSize() { return getInt("brushSize"); }; - inline Q_UINT32 smooth() {return getInt("smooth"); }; + inline TQ_UINT32 brushSize() { return getInt("brushSize"); }; + inline TQ_UINT32 smooth() {return getInt("smooth"); }; }; </programlisting> @@ -1094,7 +1094,7 @@ plugins. KisPoint KisToolStar::starCoordinates(int N, double mx, double my, double x, double y) { double R=0, r=0; - Q_INT32 n=0; + TQ_INT32 n=0; double angle; vKisPoint starCoordinatesArray(2*N); @@ -1272,7 +1272,7 @@ cursor. // Split the coordinates into integer plus fractional parts. The integer // is where the dab will be positioned and the fractional part determines // the sub-pixel positioning. - Q_INT32 x, y; + TQ_INT32 x, y; double xFraction, yFraction; splitCoordinate(pt.x(), &x, &xFraction); |