equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtCore module of the Qt Toolkit. |
7 ** This file is part of the QtCore module of the Qt Toolkit. |
8 ** |
8 ** |
165 #endif |
165 #endif |
166 bool hasFailure() const; |
166 bool hasFailure() const; |
167 private: |
167 private: |
168 const QTextCodec *c; |
168 const QTextCodec *c; |
169 QTextCodec::ConverterState state; |
169 QTextCodec::ConverterState state; |
|
170 |
|
171 friend class QXmlStreamWriter; |
|
172 friend class QXmlStreamWriterPrivate; |
|
173 #if defined(Q_OS_MAC32) || defined(Q_OS_AIX) |
|
174 friend class QCoreXmlStreamWriter; |
|
175 friend class QCoreXmlStreamWriterPrivate; |
|
176 #endif |
170 }; |
177 }; |
171 |
178 |
172 class Q_CORE_EXPORT QTextDecoder { |
179 class Q_CORE_EXPORT QTextDecoder { |
173 Q_DISABLE_COPY(QTextDecoder) |
180 Q_DISABLE_COPY(QTextDecoder) |
174 public: |
181 public: |