equal
deleted
inserted
replaced
629 static Data *fromAscii_helper(const char *str, int size = -1); |
629 static Data *fromAscii_helper(const char *str, int size = -1); |
630 void replace_helper(uint *indices, int nIndices, int blen, const QChar *after, int alen); |
630 void replace_helper(uint *indices, int nIndices, int blen, const QChar *after, int alen); |
631 friend class QCharRef; |
631 friend class QCharRef; |
632 friend class QTextCodec; |
632 friend class QTextCodec; |
633 friend class QStringRef; |
633 friend class QStringRef; |
|
634 friend struct QAbstractConcatenable; |
634 friend inline bool qStringComparisonHelper(const QString &s1, const char *s2); |
635 friend inline bool qStringComparisonHelper(const QString &s1, const char *s2); |
635 friend inline bool qStringComparisonHelper(const QStringRef &s1, const char *s2); |
636 friend inline bool qStringComparisonHelper(const QStringRef &s1, const char *s2); |
636 public: |
637 public: |
637 typedef Data * DataPtr; |
638 typedef Data * DataPtr; |
638 inline DataPtr &data_ptr() { return d; } |
639 inline DataPtr &data_ptr() { return d; } |
1062 resize(qMax(int(i), d->size)); |
1063 resize(qMax(int(i), d->size)); |
1063 return reinterpret_cast<QChar&>(d->data[i]); |
1064 return reinterpret_cast<QChar&>(d->data[i]); |
1064 } |
1065 } |
1065 #endif |
1066 #endif |
1066 |
1067 |
1067 #ifndef QT_NO_DATASTREAM |
1068 #if !defined(QT_NO_DATASTREAM) || (defined(QT_BOOTSTRAPPED) && !defined(QT_BUILD_QMAKE)) |
1068 Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &); |
1069 Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &); |
1069 Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QString &); |
1070 Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QString &); |
1070 #endif |
1071 #endif |
1071 |
1072 |
1072 #ifdef QT3_SUPPORT |
1073 #ifdef QT3_SUPPORT |