diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KCursor.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KCursor.java | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kdejava/koala/org/kde/koala/KCursor.java b/kdejava/koala/org/kde/koala/KCursor.java index d54f24b3..f6bf3f28 100644 --- a/kdejava/koala/org/kde/koala/KCursor.java +++ b/kdejava/koala/org/kde/koala/KCursor.java @@ -3,15 +3,15 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QCursor; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQCursor; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; import org.kde.qt.Qt; /** - A wrapper around QCursor that allows for "themed" cursors. + A wrapper around TQCursor that allows for "themed" cursors. Currently, the only themed cursor is a hand shaped cursor. A typical usage would be <pre> @@ -19,7 +19,7 @@ import org.kde.qt.Qt; </pre> @author Kurt Granroth <granroth@kde.org> - @short A QCursor wrapper allowing "themed" cursors and auto-hiding cursors. + @short A TQCursor wrapper allowing "themed" cursors and auto-hiding cursors. */ public class KCursor extends Qt { @@ -39,83 +39,83 @@ public class KCursor extends Qt { the current GUI style (static function). @short Returns the proper hand cursor according to the current GUI style (static function). */ - public static native QCursor handCursor(); + public static native TQCursor handCursor(); /** Returns the proper arrow+hourglass cursor according to the current GUI style (static function). @short Returns the proper arrow+hourglass cursor according to the current GUI style (static function). */ - public static native QCursor workingCursor(); + public static native TQCursor workingCursor(); /** Returns the proper arrow cursor according to the current GUI style (static function). @short Returns the proper arrow cursor according to the current GUI style (static function). */ - public static native QCursor arrowCursor(); + public static native TQCursor arrowCursor(); /** Returns the proper up arrow cursor according to the current GUI style (static function). @short Returns the proper up arrow cursor according to the current GUI style (static function). */ - public static native QCursor upArrowCursor(); + public static native TQCursor upArrowCursor(); /** Returns the proper cross-hair cursor according to the current GUI style (static function). @short Returns the proper cross-hair cursor according to the current GUI style (static function). */ - public static native QCursor crossCursor(); + public static native TQCursor crossCursor(); /** Returns the proper hourglass cursor according to the current GUI style (static function). @short Returns the proper hourglass cursor according to the current GUI style (static function). */ - public static native QCursor waitCursor(); + public static native TQCursor waitCursor(); /** Returns the proper text cursor according to the current GUI style (static function). @short Returns the proper text cursor according to the current GUI style (static function). */ - public static native QCursor ibeamCursor(); + public static native TQCursor ibeamCursor(); /** Returns the proper vertical resize cursor according to the current GUI style (static function). @short Returns the proper vertical resize cursor according to the current GUI style (static function). */ - public static native QCursor sizeVerCursor(); + public static native TQCursor sizeVerCursor(); /** Returns the proper horizontal resize cursor according to the current GUI style (static function). @short Returns the proper horizontal resize cursor according to the current GUI style (static function). */ - public static native QCursor sizeHorCursor(); + public static native TQCursor sizeHorCursor(); /** Returns the proper diagonal resize (/) cursor according to the current GUI style (static function). @short Returns the proper diagonal resize (/) cursor according to the current GUI style (static function). */ - public static native QCursor sizeBDiagCursor(); + public static native TQCursor sizeBDiagCursor(); /** Returns the proper diagonal resize (\) cursor according to the current GUI style (static function). @short Returns the proper diagonal resize (\) cursor according to the current GUI style (static function). */ - public static native QCursor sizeFDiagCursor(); + public static native TQCursor sizeFDiagCursor(); /** Returns the proper all-directions resize cursor according to the current GUI style (static function). @short Returns the proper all-directions resize cursor according to the current GUI style (static function). */ - public static native QCursor sizeAllCursor(); + public static native TQCursor sizeAllCursor(); /** Returns a blank or invisible cursor (static function). @short Returns a blank or invisible cursor (static function). */ - public static native QCursor blankCursor(); + public static native TQCursor blankCursor(); /** Returns a WhatsThis cursor (static function). @short Returns a WhatsThis cursor (static function). */ - public static native QCursor whatsThisCursor(); + public static native TQCursor whatsThisCursor(); /** Sets auto-hiding the cursor for widget <code>w.</code> Enabling it will result in the cursor being hidden when @@ -137,11 +137,11 @@ public class KCursor extends Qt { mouseTracking after disabling auto-hide, you have to reenable mouseTracking. If you want to use auto-hiding for widgets that don't take focus, e.g. - a QCanvasView, then you have to pass all key-events that should trigger + a TQCanvasView, then you have to pass all key-events that should trigger auto-hiding to autoHideEventFilter(). @short Sets auto-hiding the cursor for widget <code>w.</code> */ - public static native void setAutoHideCursor(QWidget w, boolean enable); + public static native void setAutoHideCursor(TQWidget w, boolean enable); /** Overloaded method for the case where you have an event-filter installed on the widget you want to enable auto-cursor-hiding. @@ -150,7 +150,7 @@ public class KCursor extends Qt { @short Overloaded method for the case where you have an event-filter installed on the widget you want to enable auto-cursor-hiding. @see #autoHideEventFilter */ - public static native void setAutoHideCursor(QWidget w, boolean enable, boolean customEventFilter); + public static native void setAutoHideCursor(TQWidget w, boolean enable, boolean customEventFilter); /** Sets the delay time in milliseconds for auto-hiding. When no keyboard events arrive for that time-frame, the cursor will be hidden. @@ -178,7 +178,7 @@ public class KCursor extends Qt { edit.installEventFilter( this ); KCursor.setAutoHideCursor( edit, true, true ); [...] - boolean YourClass.eventFilter( QObject o, QEvent e ) + boolean YourClass.eventFilter( TQObject o, TQEvent e ) { if ( o == edit ) // only that widget where you enabled auto-hide! KCursor.autoHideEventFilter( o, e ); @@ -190,7 +190,7 @@ public class KCursor extends Qt { didn't enable or after disabling auto-hiding. @short KCursor has to install an eventFilter over the widget you want to auto-hide. */ - public static native void autoHideEventFilter(QObject arg1, QEvent arg2); + public static native void autoHideEventFilter(TQObject arg1, TQEvent arg2); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |