summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/doc.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2012-08-29 13:37:49 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-01 11:24:57 +0200
commit4d78b867314520537dd9185f49029ff8d4c49464 (patch)
tree18c9844d6209b747c322887dbfdd4a7b165896c8 /src/tools/qdoc/doc.cpp
parent3ef3c662fecf60be1efcc315a1ae585658c1bec3 (diff)
Use QString() instead of "".
Change-Id: I42c55344663808b8362e2c9185273a00fc1c70b0 Reviewed-by: Martin Smith <martin.smith@nokia.com>
Diffstat (limited to 'src/tools/qdoc/doc.cpp')
-rw-r--r--src/tools/qdoc/doc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/qdoc/doc.cpp b/src/tools/qdoc/doc.cpp
index c52b44f72b..dd6fb1d1ff 100644
--- a/src/tools/qdoc/doc.cpp
+++ b/src/tools/qdoc/doc.cpp
@@ -355,7 +355,7 @@ class DocPrivate : public Shared
public:
DocPrivate(const Location& start = Location::null,
const Location& end = Location::null,
- const QString& source = "");
+ const QString& source = QString());
~DocPrivate();
void addAlso(const Text& also);
@@ -473,7 +473,7 @@ private:
void startSection(Doc::Sections unit, int cmd);
void endSection(int unit, int endCmd);
void parseAlso();
- void append(Atom::Type type, const QString& string = "");
+ void append(Atom::Type type, const QString& string = QString());
void append(Atom::Type type, const QString& p1, const QString& p2);
void appendChar(QChar ch);
void appendWord(const QString &word);
@@ -482,7 +482,7 @@ private:
void startNewPara();
void enterPara(Atom::Type leftType = Atom::ParaLeft,
Atom::Type rightType = Atom::ParaRight,
- const QString& string = "");
+ const QString& string = QString());
void leavePara();
void leaveValue();
void leaveValueList();
@@ -1149,7 +1149,7 @@ void DocParser::parse(const QString& source,
Doc::quoteFromFile(location(), quoter, fileName);
if (!quoting) {
append(Atom::Code,
- quoter.quoteTo(location(), cmdStr, ""));
+ quoter.quoteTo(location(), cmdStr, QString()));
quoter.reset();
}
else {