kcursor.h00001
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 <qcursor.h>
00027 #include <kdelibs_export.h>
00028
00029 class QWidget;
00030
00045 class KDEUI_EXPORT KCursor : public Qt
00046 {
00047 public:
00053 KCursor();
00054
00059 static QCursor handCursor();
00060
00065 static QCursor workingCursor();
00066
00071 static QCursor arrowCursor();
00072
00077 static QCursor upArrowCursor();
00078
00083 static QCursor crossCursor();
00084
00089 static QCursor waitCursor();
00090
00095 static QCursor ibeamCursor();
00096
00101 static QCursor sizeVerCursor();
00102
00107 static QCursor sizeHorCursor();
00108
00113 static QCursor sizeBDiagCursor();
00114
00119 static QCursor sizeFDiagCursor();
00120
00125 static QCursor sizeAllCursor();
00126
00130 static QCursor blankCursor();
00131
00135 static QCursor whatsThisCursor();
00136
00159 static void setAutoHideCursor( QWidget *w, bool enable );
00160
00170 static void setAutoHideCursor( QWidget *w, bool enable,
00171 bool customEventFilter );
00172
00179 static void setHideCursorDelay( int ms );
00180
00186 static int hideCursorDelay();
00187
00217 static void autoHideEventFilter( QObject *, QEvent * );
00218
00219 private:
00220 static QCursor *s_handCursor;
00221 };
00222
00223
00224 #endif // _KCURSOR_H
|