From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- qtjava/javalib/org/kde/qt/QCursor.java | 68 +++++++++++++++++----------------- 1 file changed, 34 insertions(+), 34 deletions(-) (limited to 'qtjava/javalib/org/kde/qt/QCursor.java') diff --git a/qtjava/javalib/org/kde/qt/QCursor.java b/qtjava/javalib/org/kde/qt/QCursor.java index ef789934..02575205 100644 --- a/qtjava/javalib/org/kde/qt/QCursor.java +++ b/qtjava/javalib/org/kde/qt/QCursor.java @@ -3,61 +3,61 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCursor extends Qt { - protected QCursor(Class dummy){super((Class) null);} - public QCursor() { +public class TQCursor extends Qt { + protected TQCursor(Class dummy){super((Class) null);} + public TQCursor() { super((Class) null); - newQCursor(); + newTQCursor(); } - private native void newQCursor(); - public QCursor(int shape) { + private native void newTQCursor(); + public TQCursor(int shape) { super((Class) null); - newQCursor(shape); + newTQCursor(shape); } - private native void newQCursor(int shape); - public QCursor(QBitmap bitmap, QBitmap mask, int hotX, int hotY) { + private native void newTQCursor(int shape); + public TQCursor(TQBitmap bitmap, TQBitmap mask, int hotX, int hotY) { super((Class) null); - newQCursor(bitmap,mask,hotX,hotY); + newTQCursor(bitmap,mask,hotX,hotY); } - private native void newQCursor(QBitmap bitmap, QBitmap mask, int hotX, int hotY); - public QCursor(QBitmap bitmap, QBitmap mask, int hotX) { + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask, int hotX, int hotY); + public TQCursor(TQBitmap bitmap, TQBitmap mask, int hotX) { super((Class) null); - newQCursor(bitmap,mask,hotX); + newTQCursor(bitmap,mask,hotX); } - private native void newQCursor(QBitmap bitmap, QBitmap mask, int hotX); - public QCursor(QBitmap bitmap, QBitmap mask) { + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask, int hotX); + public TQCursor(TQBitmap bitmap, TQBitmap mask) { super((Class) null); - newQCursor(bitmap,mask); + newTQCursor(bitmap,mask); } - private native void newQCursor(QBitmap bitmap, QBitmap mask); - public QCursor(QPixmap pixmap, int hotX, int hotY) { + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask); + public TQCursor(TQPixmap pixmap, int hotX, int hotY) { super((Class) null); - newQCursor(pixmap,hotX,hotY); + newTQCursor(pixmap,hotX,hotY); } - private native void newQCursor(QPixmap pixmap, int hotX, int hotY); - public QCursor(QPixmap pixmap, int hotX) { + private native void newTQCursor(TQPixmap pixmap, int hotX, int hotY); + public TQCursor(TQPixmap pixmap, int hotX) { super((Class) null); - newQCursor(pixmap,hotX); + newTQCursor(pixmap,hotX); } - private native void newQCursor(QPixmap pixmap, int hotX); - public QCursor(QPixmap pixmap) { + private native void newTQCursor(TQPixmap pixmap, int hotX); + public TQCursor(TQPixmap pixmap) { super((Class) null); - newQCursor(pixmap); + newTQCursor(pixmap); } - private native void newQCursor(QPixmap pixmap); - public QCursor(QCursor arg1) { + private native void newTQCursor(TQPixmap pixmap); + public TQCursor(TQCursor arg1) { super((Class) null); - newQCursor(arg1); + newTQCursor(arg1); } - private native void newQCursor(QCursor arg1); + private native void newTQCursor(TQCursor arg1); public native int shape(); public native void setShape(int arg1); - public native QBitmap bitmap(); - public native QBitmap mask(); - public native QPoint hotSpot(); - public static native QPoint pos(); + public native TQBitmap bitmap(); + public native TQBitmap mask(); + public native TQPoint hotSpot(); + public static native TQPoint pos(); public static native void setPos(int x, int y); - public static native void setPos(QPoint arg1); + public static native void setPos(TQPoint arg1); public static native void initialize(); public static native void cleanup(); /** Deletes the wrapped C++ instance */ -- cgit v1.2.1