summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/cppcodemarker.cpp
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-08-31 08:14:28 (GMT)
committerCasper van Donderen <casper.vandonderen@nokia.com>2011-08-31 08:14:28 (GMT)
commit9c5f08452da280a90de48d0fa3862748cc428df4 (patch)
tree38e6d4192e6fcf4e807727e05d4508ecb9ecedde /tools/qdoc3/cppcodemarker.cpp
parent76d680844382ea24d40caaf9e0349e7b5af69ada (diff)
parent1e48d40597bbe12321a5a3e42b3595dc17a7f8e7 (diff)
downloadQt-9c5f08452da280a90de48d0fa3862748cc428df4.zip
Qt-9c5f08452da280a90de48d0fa3862748cc428df4.tar.gz
Qt-9c5f08452da280a90de48d0fa3862748cc428df4.tar.bz2
Merge remote branch 'mainline/4.8'
Conflicts: tools/qdoc3/cppcodemarker.cpp tools/qdoc3/node.cpp
Diffstat (limited to 'tools/qdoc3/cppcodemarker.cpp')
-rw-r--r--tools/qdoc3/cppcodemarker.cpp30
1 files changed, 4 insertions, 26 deletions
diff --git a/tools/qdoc3/cppcodemarker.cpp b/tools/qdoc3/cppcodemarker.cpp
index 0fc30bc..75d6094 100644
--- a/tools/qdoc3/cppcodemarker.cpp
+++ b/tools/qdoc3/cppcodemarker.cpp
@@ -483,10 +483,10 @@ QList<Section> CppCodeMarker::sections(const InnerNode *inner,
"",
"public function",
"public functions");
- FastSection publicSignals(classe, "Signals", "", "signal", "signal");
- FastSection publicSlots(classe, "Public Slots", "", "public slot", "public slots");
- FastSection publicTypes(classe, "Public Types", "", "public type", "public types");
- FastSection publicVariables(classe,
+ FastSection publicSignals(classe, "Signals", "", "signal", "signals");
+ FastSection publicSlots(classe, "Public Slots", "", "public slot", "public slots");
+ FastSection publicTypes(classe, "Public Types", "", "public type", "public types");
+ FastSection publicVariables(classe,
"Public Variables",
"",
"public variable",
@@ -878,28 +878,6 @@ static const char * const keywordTable[] = {
"signals", "slots", "emit", 0
};
-#if 0
-static QString untabified(const QString &in)
-{
- QString res;
- int col = 0;
- int i = 0;
-
- for (; i < (int) in.length(); i++) {
- if (in[i] == QChar('\t')) {
- res += QString(" " + (col & 0x7));
- col = (col + 8) & ~0x7;
- } else {
- res += in[i];
- if (in[i] == QChar('\n'))
- col = 0;
- }
- }
-
- return res;
-}
-#endif
-
/*
@char
@class