QtGui/qcursor.h Source File
Go to the documentation of this file.
65 static void setPos(
int x,
int y);
66 inline static void setPos(
const QPoint &
p) { setPos(p.
x(), p.
y()); }
71 #endif // QT_NO_CURSOR
80 void qt_mac_set_cursor(
const QCursor *
c);
82 #if defined(Q_OS_SYMBIAN)
83 extern void qt_symbian_show_pointer_sprite();
84 extern void qt_symbian_hide_pointer_sprite();
85 extern void qt_symbian_set_pointer_sprite(
const QCursor& cursor);
86 extern void qt_symbian_move_cursor_sprite();
99 #ifdef Q_COMPILER_RVALUE_REFS
101 {
qSwap(d, other.d);
return *
this; }
103 operator QVariant()
const;
114 static void setPos(
int x,
int y);
118 HCURSOR_or_HANDLE handle()
const;
124 #if defined(Q_WS_WIN)
127 #elif defined(Q_WS_X11)
130 static int x11Screen();
131 #elif defined(Q_WS_MAC)
133 #elif defined(Q_WS_QWS) || defined(Q_WS_QPA)
135 #elif defined(Q_OS_SYMBIAN)
142 #if defined(Q_WS_MAC)
143 friend void *qt_mac_nsCursorForQCursor(
const QCursor &
c);
144 friend void qt_mac_set_cursor(
const QCursor *
c);
145 friend void qt_mac_updateCursorWithWidgetUnderMouse(
QWidget *widgetUnderMouse);
147 #if defined(Q_OS_SYMBIAN)
148 friend void qt_symbian_show_pointer_sprite();
149 friend void qt_symbian_hide_pointer_sprite();
150 friend void qt_symbian_set_pointer_sprite(
const QCursor& cursor);
151 friend void qt_symbian_move_cursor_sprite();
158 #define X_CursorShape CursorShape
163 #define CursorShape X_CursorShape
170 #ifndef QT_NO_DATASTREAM
174 #endif // QT_NO_CURSOR
GLXFBConfig Pixmap pixmap
Q_GUI_EXPORT QDataStream & operator<<(QDataStream &outS, const QCursor &cursor)
#define QT_BEGIN_NAMESPACE
Q_INLINE_TEMPLATE void qSwap(QScopedPointer< T, Cleanup > &p1, QScopedPointer< T, Cleanup > &p2)
Q_GUI_EXPORT QDataStream & operator>>(QDataStream &inS, QCursor &cursor)
static void setPos(const QPoint &p)