summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcursor.h
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>2012-01-04 14:14:08 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-10 01:25:18 +0100
commit18617f2824af67a690ade336f5d27f09752c7206 (patch)
treea0b1802f39344a5e334d7385d4f2ef6863ed6ee3 /src/gui/kernel/qcursor.h
parentb03fa845a72ce0f4e0785c6ebeb430ded970426b (diff)
Implement QDebug stream operators for builtin classes
QDebug stream operator was added for: QPixmap, QImage, QUuid, QBitArray, QLocale, QRegExp, QCursor, QPalette, QTextFormat, QTextLength, QIcon and QSizePolicy Change-Id: Ibcf5c9b599ba322d53cb106d8e5e157427ebe757 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com> Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Diffstat (limited to 'src/gui/kernel/qcursor.h')
-rw-r--r--src/gui/kernel/qcursor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qcursor.h b/src/gui/kernel/qcursor.h
index 121bd2c2e6..7437da4aba 100644
--- a/src/gui/kernel/qcursor.h
+++ b/src/gui/kernel/qcursor.h
@@ -126,6 +126,11 @@ private:
Q_GUI_EXPORT QDataStream &operator<<(QDataStream &outS, const QCursor &cursor);
Q_GUI_EXPORT QDataStream &operator>>(QDataStream &inS, QCursor &cursor);
#endif
+
+#ifndef QT_NO_DEBUG_STREAM
+Q_GUI_EXPORT QDebug operator<<(QDebug, const QCursor &);
+#endif
+
#endif // QT_NO_CURSOR
QT_END_NAMESPACE