summaryrefslogtreecommitdiffstats
path: root/kolourpaint/cursors
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/cursors
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/cursors')
-rw-r--r--kolourpaint/cursors/kpcursorlightcross.cpp10
-rw-r--r--kolourpaint/cursors/kpcursorlightcross.h4
-rw-r--r--kolourpaint/cursors/kpcursorprovider.cpp6
-rw-r--r--kolourpaint/cursors/kpcursorprovider.h4
4 files changed, 12 insertions, 12 deletions
diff --git a/kolourpaint/cursors/kpcursorlightcross.cpp b/kolourpaint/cursors/kpcursorlightcross.cpp
index 0595d320..34051dbf 100644
--- a/kolourpaint/cursors/kpcursorlightcross.cpp
+++ b/kolourpaint/cursors/kpcursorlightcross.cpp
@@ -30,8 +30,8 @@
#include <kpcursorlightcross.h>
-#include <qbitmap.h>
-#include <qcursor.h>
+#include <tqbitmap.h>
+#include <tqcursor.h>
#include <kdebug.h>
@@ -81,7 +81,7 @@ static void setPixel (unsigned char *colorBitmap,
}
-const QCursor *kpMakeCursorLightCross ()
+const TQCursor *kpMakeCursorLightCross ()
{
#if DEBUG_KP_CURSOR_LIGHT_CROSS
kdDebug () << "kpMakeCursorLightCross() " << endl;
@@ -117,8 +117,8 @@ const QCursor *kpMakeCursorLightCross ()
#undef X_
}
- QCursor *cursor = new QCursor (QBitmap (side, side, colorBitmap, true/*little endian bit order*/),
- QBitmap (side, side, maskBitmap, true/*little endian bit order*/));
+ TQCursor *cursor = new TQCursor (TQBitmap (side, side, colorBitmap, true/*little endian bit order*/),
+ TQBitmap (side, side, maskBitmap, true/*little endian bit order*/));
delete [] maskBitmap;
delete [] colorBitmap;
diff --git a/kolourpaint/cursors/kpcursorlightcross.h b/kolourpaint/cursors/kpcursorlightcross.h
index d2bf83e1..131d94c3 100644
--- a/kolourpaint/cursors/kpcursorlightcross.h
+++ b/kolourpaint/cursors/kpcursorlightcross.h
@@ -30,9 +30,9 @@
#define __kp_cursor_light_cross_h__
-class QCursor;
+class TQCursor;
-const QCursor *kpMakeCursorLightCross ();
+const TQCursor *kpMakeCursorLightCross ();
#endif // __kp_cursor_light_cross_h__
diff --git a/kolourpaint/cursors/kpcursorprovider.cpp b/kolourpaint/cursors/kpcursorprovider.cpp
index 45d43801..32cc3dd8 100644
--- a/kolourpaint/cursors/kpcursorprovider.cpp
+++ b/kolourpaint/cursors/kpcursorprovider.cpp
@@ -28,18 +28,18 @@
#include <kpcursorprovider.h>
-#include <qcursor.h>
+#include <tqcursor.h>
#include <kstaticdeleter.h>
#include <kpcursorlightcross.h>
-static const QCursor *theLightCursor = 0;
+static const TQCursor *theLightCursor = 0;
// public static
-QCursor kpCursorProvider::lightCross ()
+TQCursor kpCursorProvider::lightCross ()
{
// TODO: don't leak (although it's cleaned up on exit by OS anyway)
if (!theLightCursor)
diff --git a/kolourpaint/cursors/kpcursorprovider.h b/kolourpaint/cursors/kpcursorprovider.h
index 191b4f78..ab9b4218 100644
--- a/kolourpaint/cursors/kpcursorprovider.h
+++ b/kolourpaint/cursors/kpcursorprovider.h
@@ -30,13 +30,13 @@
#define __kp_cursor_provider_h__
-class QCursor;
+class TQCursor;
class kpCursorProvider
{
public:
- static QCursor lightCross ();
+ static TQCursor lightCross ();
};