KDEUI
kcursor.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KCURSOR_H
00021 #define KCURSOR_H
00022
00023 #include <kdeui_export.h>
00024 #include <QtGui/QCursor>
00025
00026 class QEvent;
00027 class QWidget;
00028
00036 class KDEUI_EXPORT KCursor : public QCursor
00037 {
00038 public:
00055 explicit KCursor( const QString & name, Qt::CursorShape fallback = Qt::ArrowCursor );
00056
00060 KCursor( const QCursor & cursor );
00061
00066 KCursor & operator = ( const KCursor & cursor );
00067
00090 static void setAutoHideCursor( QWidget *w, bool enable,
00091 bool customEventFilter = false );
00092
00099 static void setHideCursorDelay( int ms );
00100
00106 static int hideCursorDelay();
00107
00137 static void autoHideEventFilter( QObject *, QEvent * );
00138
00139 private:
00140 class Private;
00141 Private* const d;
00142 };
00143
00144
00145 #endif // _KCURSOR_H