56 #include "QtCore/qatomic.h" 57 #include "QtCore/qglobal.h" 58 #include "QtCore/qnamespace.h" 59 #include "QtGui/qpixmap.h" 61 # if defined (Q_WS_MAC) 62 # include "private/qt_mac_p.h" 63 # elif defined(Q_WS_X11) 64 # include "private/qt_x11_p.h" 65 # elif defined(Q_WS_WIN) 66 # include "QtCore/qt_windows.h" 67 # elif defined(Q_OS_SYMBIAN) 68 # include "private/qt_s60_p.h" 73 #if defined (Q_WS_MAC) 92 #if defined (Q_WS_MAC) 94 #elif defined(Q_WS_QWS) || defined(Q_WS_QPA) 97 #if defined (Q_WS_WIN) 99 #elif defined (Q_WS_X11) 103 #elif defined (Q_WS_MAC) 104 enum { TYPE_None, TYPE_ImageCursor, TYPE_ThemeCursor }
type;
115 void initCursorFromBitmap();
116 void initCursorFromPixmap();
117 #elif defined Q_OS_SYMBIAN 118 void loadShapeFromResource(RWsSpriteBase& target,
QString resource,
int hx,
int hy,
int interval=0);
119 void constructShapeSprite(RWsSpriteBase& target);
120 void constructCursorSprite(RWsSpriteBase& target);
121 RWsPointerCursor pcurs;
123 RPointerArray<TSpriteMember> nativeSpriteMembers;
134 #endif // QCURSOR_P_H
The QCursor class provides a mouse cursor with an arbitrary shape.
#define QT_END_NAMESPACE
This macro expands to.
The QAtomicInt class provides platform-independent atomic operations on integers. ...
void * qt_mac_nsCursorForQCursor(const QCursor &c)
The QString class provides a Unicode character string.
static QCursorData * setBitmap(const QBitmap &bitmap, const QBitmap &mask, int hotX, int hotY)
The QBitmap class provides monochrome (1-bit depth) pixmaps.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QCursorData(Qt::CursorShape s=Qt::ArrowCursor)
void update()
Creates the cursor.
The QPixmap class is an off-screen image representation that can be used as a paint device...
QCursorData * qt_cursorTable[Qt::LastCursor+1]