From 18617f2824af67a690ade336f5d27f09752c7206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Nowacki?= Date: Wed, 4 Jan 2012 14:14:08 +0100 Subject: 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 Reviewed-by: Bradley T. Hughes Reviewed-by: Denis Dzyubenko --- src/gui/kernel/qcursor.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/kernel/qcursor.h') 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 -- cgit v1.2.3