summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qtextstream.h
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2012-07-27 14:17:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-14 23:44:15 +0100
commit327b2ba3b77e7a738ccfbe84c6ca5e9525010630 (patch)
treef89c8299d94d4f407ddb91bc4dfff3464680a85e /src/corelib/io/qtextstream.h
parentad265c55beb596e28d6b28c16700795fa8555ee6 (diff)
Add class QDebugStateSaver for writing QDebug operators correctly
Had to move QTextStreamPrivate to a private header, to be able to use its new internal Params struct from qdebug.cpp Change-Id: If28e25f27bbd04b1825a5eb3e2ef83ecad72e7b2 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qtextstream.h')
-rw-r--r--src/corelib/io/qtextstream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qtextstream.h b/src/corelib/io/qtextstream.h
index cf19721bee..3a26c78be8 100644
--- a/src/corelib/io/qtextstream.h
+++ b/src/corelib/io/qtextstream.h
@@ -194,6 +194,7 @@ public:
private:
Q_DISABLE_COPY(QTextStream)
+ friend class QDebugStateSaverPrivate;
QScopedPointer<QTextStreamPrivate> d_ptr;
};