summaryrefslogtreecommitdiffstats
path: root/qtools/qstring.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-12-06 18:20:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-12-06 18:20:45 (GMT)
commitb6ef778f99fb691dc98832a43bd14cbd7e23d820 (patch)
treedb6a4cf330b3c7b7dc387321cabe709ba675e957 /qtools/qstring.cpp
parent02aa9b678dbeb1867c68278045b28d7bc1683f7c (diff)
downloadDoxygen-b6ef778f99fb691dc98832a43bd14cbd7e23d820.zip
Doxygen-b6ef778f99fb691dc98832a43bd14cbd7e23d820.tar.gz
Doxygen-b6ef778f99fb691dc98832a43bd14cbd7e23d820.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.