summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/quoter.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2011-04-01 11:03:52 (GMT)
committerMartin Smith <martin.smith@nokia.com>2011-04-01 11:03:52 (GMT)
commit131f429e43a5c382ae208af39bc5f889c39dee8b (patch)
treedab5df5a6e1928a9cc33f8e02d441a76f8786c2a /tools/qdoc3/quoter.cpp
parent3126bb318ea281946a87e8d7ffab1f5c45ca7398 (diff)
downloadQt-131f429e43a5c382ae208af39bc5f889c39dee8b.zip
Qt-131f429e43a5c382ae208af39bc5f889c39dee8b.tar.gz
Qt-131f429e43a5c382ae208af39bc5f889c39dee8b.tar.bz2
qdoc: modified \include to take a 2nd arg, snippet id.
Diffstat (limited to 'tools/qdoc3/quoter.cpp')
-rw-r--r--tools/qdoc3/quoter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qdoc3/quoter.cpp b/tools/qdoc3/quoter.cpp
index dadf67c..d9210e3 100644
--- a/tools/qdoc3/quoter.cpp
+++ b/tools/qdoc3/quoter.cpp
@@ -41,6 +41,7 @@
#include <qfileinfo.h>
#include <qregexp.h>
+#include <qdebug.h>
#include "quoter.h"
@@ -65,7 +66,7 @@ static void replaceMultipleNewlines(QString &s)
}
// This is equivalent to line.split( QRegExp("\n(?!\n|$)") ) but much faster
-static QStringList splitLines(const QString &line)
+QStringList Quoter::splitLines(const QString &line)
{
QStringList result;
int i = line.size();