summaryrefslogtreecommitdiffstats
path: root/qtools/qstring.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-12-06 18:20:45 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-12-06 18:20:45 (GMT)
commit6813ee0d373629968dc3ff9235285819e45f5707 (patch)
treedb6a4cf330b3c7b7dc387321cabe709ba675e957 /qtools/qstring.cpp
parent4a50fc78170244f82c376bbecd28be43cc849da3 (diff)
downloadDoxygen-6813ee0d373629968dc3ff9235285819e45f5707.zip
Doxygen-6813ee0d373629968dc3ff9235285819e45f5707.tar.gz
Doxygen-6813ee0d373629968dc3ff9235285819e45f5707.tar.bz2
Doxygen-1.3.9.1-20041206
Diffstat (limited to 'qtools/qstring.cpp')
-rw-r--r--qtools/qstring.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/qtools/qstring.cpp b/qtools/qstring.cpp
index e13ffc8..4707fed 100644
--- a/qtools/qstring.cpp
+++ b/qtools/qstring.cpp
@@ -12212,6 +12212,14 @@ QString::QString( const QByteArray& ba )
d = new QStringData(uc,l,l);
}
+QString::QString( const QCString& ba )
+{
+ Q2HELPER(stat_construct_ba++)
+ uint l;
+ QChar *uc = internalAsciiToUnicode(ba,&l);
+ d = new QStringData(uc,l,l);
+}
+
/*!
Constructs a string that is a deep copy of the
first \a length QChar in the array \a unicode.