equal
deleted
inserted
replaced
139 \o Qt::OpenHandCursor \o \c openhand |
139 \o Qt::OpenHandCursor \o \c openhand |
140 \row \o \inlineimage cursor-whatsthis.png |
140 \row \o \inlineimage cursor-whatsthis.png |
141 \o Qt::WhatsThisCursor \o \c whats_this |
141 \o Qt::WhatsThisCursor \o \c whats_this |
142 \o \inlineimage cursor-closedhand.png |
142 \o \inlineimage cursor-closedhand.png |
143 \o Qt::ClosedHandCursor \o \c closedhand |
143 \o Qt::ClosedHandCursor \o \c closedhand |
|
144 \row \o |
|
145 \o Qt::DragMoveCursor \o \c dnd-move or \c move |
|
146 \o |
|
147 \o Qt::DragCopyCursor \o \c dnd-copy or \c copy |
|
148 \row \o |
|
149 \o Qt::DragLinkCursor \o \c dnd-link or \c link |
144 \endtable |
150 \endtable |
145 |
151 |
146 \sa QWidget, {fowler}{GUI Design Handbook: Cursors} |
152 \sa QWidget, {fowler}{GUI Design Handbook: Cursors} |
147 */ |
153 */ |
148 |
154 |
221 \fn QDataStream &operator<<(QDataStream &stream, const QCursor &cursor) |
227 \fn QDataStream &operator<<(QDataStream &stream, const QCursor &cursor) |
222 \relates QCursor |
228 \relates QCursor |
223 |
229 |
224 Writes the \a cursor to the \a stream. |
230 Writes the \a cursor to the \a stream. |
225 |
231 |
226 \sa {Format of the QDataStream operators} |
232 \sa {Serializing Qt Data Types} |
227 */ |
233 */ |
228 |
234 |
229 QDataStream &operator<<(QDataStream &s, const QCursor &c) |
235 QDataStream &operator<<(QDataStream &s, const QCursor &c) |
230 { |
236 { |
231 s << (qint16)c.shape(); // write shape id to stream |
237 s << (qint16)c.shape(); // write shape id to stream |
248 \fn QDataStream &operator>>(QDataStream &stream, QCursor &cursor) |
254 \fn QDataStream &operator>>(QDataStream &stream, QCursor &cursor) |
249 \relates QCursor |
255 \relates QCursor |
250 |
256 |
251 Reads the \a cursor from the \a stream. |
257 Reads the \a cursor from the \a stream. |
252 |
258 |
253 \sa {Format of the QDataStream operators} |
259 \sa {Serializing Qt Data Types} |
254 */ |
260 */ |
255 |
261 |
256 QDataStream &operator>>(QDataStream &s, QCursor &c) |
262 QDataStream &operator>>(QDataStream &s, QCursor &c) |
257 { |
263 { |
258 qint16 shape; |
264 qint16 shape; |