tdeui
kcursor.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _KCURSOR_H
00024 #define _KCURSOR_H
00025
00026 #include <tqcursor.h>
00027 #include <tdelibs_export.h>
00028
00029 class TQWidget;
00030
00045 class TDEUI_EXPORT KCursor : public TQt
00046 {
00047 public:
00053 KCursor();
00054
00059 static TQCursor handCursor();
00060
00065 static TQCursor workingCursor();
00066
00071 static TQCursor arrowCursor();
00072
00077 static TQCursor upArrowCursor();
00078
00083 static TQCursor crossCursor();
00084
00089 static TQCursor waitCursor();
00090
00095 static TQCursor ibeamCursor();
00096
00101 static TQCursor sizeVerCursor();
00102
00107 static TQCursor sizeHorCursor();
00108
00113 static TQCursor sizeBDiagCursor();
00114
00119 static TQCursor sizeFDiagCursor();
00120
00125 static TQCursor sizeAllCursor();
00126
00130 static TQCursor blankCursor();
00131
00135 static TQCursor whatsThisCursor();
00136
00159 static void setAutoHideCursor( TQWidget *w, bool enable );
00160
00170 static void setAutoHideCursor( TQWidget *w, bool enable,
00171 bool customEventFilter );
00172
00179 static void setHideCursorDelay( int ms );
00180
00186 static int hideCursorDelay();
00187
00217 static void autoHideEventFilter( TQObject *, TQEvent * );
00218
00219 private:
00220 static TQCursor *s_handCursor;
00221 };
00222
00223
00224 #endif // _KCURSOR_H