diff options
Diffstat (limited to 'kolourpaint/cursors')
-rw-r--r-- | kolourpaint/cursors/kpcursorlightcross.cpp | 10 | ||||
-rw-r--r-- | kolourpaint/cursors/kpcursorlightcross.h | 4 | ||||
-rw-r--r-- | kolourpaint/cursors/kpcursorprovider.cpp | 6 | ||||
-rw-r--r-- | kolourpaint/cursors/kpcursorprovider.h | 4 |
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 (); }; |