diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-08-31 08:22:19 (GMT) |
---|---|---|
committer | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-08-31 08:22:19 (GMT) |
commit | e8d827da1567aa15a88f0041ca28b126a7ccdf52 (patch) | |
tree | d52b73e4cde7c9f45f0fb417d97723258ff7da14 /tools/qdoc3 | |
parent | 214a26fbde1c5600a10db59217ae9b63a46bce9e (diff) | |
parent | 1e48d40597bbe12321a5a3e42b3595dc17a7f8e7 (diff) | |
download | Qt-e8d827da1567aa15a88f0041ca28b126a7ccdf52.zip Qt-e8d827da1567aa15a88f0041ca28b126a7ccdf52.tar.gz Qt-e8d827da1567aa15a88f0041ca28b126a7ccdf52.tar.bz2 |
Merge remote branch 'mainline/4.8'
Conflicts:
tools/qdoc3/cppcodemarker.cpp
tools/qdoc3/node.cpp
Diffstat (limited to 'tools/qdoc3')
-rw-r--r-- | tools/qdoc3/cppcodemarker.cpp | 30 | ||||
-rw-r--r-- | tools/qdoc3/node.cpp | 33 |
2 files changed, 4 insertions, 59 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 diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp index b1d94e2..589ff60 100644 --- a/tools/qdoc3/node.cpp +++ b/tools/qdoc3/node.cpp @@ -1724,39 +1724,6 @@ bool QmlPropertyNode::fromTrool(Trool troolean, bool defaultValue) } } -#if 0 -static QString valueType(const QString &n) -{ - if (n == "QPoint") - return "QDeclarativePointValueType"; - if (n == "QPointF") - return "QDeclarativePointFValueType"; - if (n == "QSize") - return "QDeclarativeSizeValueType"; - if (n == "QSizeF") - return "QDeclarativeSizeFValueType"; - if (n == "QRect") - return "QDeclarativeRectValueType"; - if (n == "QRectF") - return "QDeclarativeRectFValueType"; - if (n == "QVector2D") - return "QDeclarativeVector2DValueType"; - if (n == "QVector3D") - return "QDeclarativeVector3DValueType"; - if (n == "QVector4D") - return "QDeclarativeVector4DValueType"; - if (n == "QQuaternion") - return "QDeclarativeQuaternionValueType"; - if (n == "QMatrix4x4") - return "QDeclarativeMatrix4x4ValueType"; - if (n == "QEasingCurve") - return "QDeclarativeEasingValueType"; - if (n == "QFont") - return "QDeclarativeFontValueType"; - return QString(); -} -#endif - /*! Returns true if a QML property or attached property is read-only. The algorithm for figuring this out is long |