diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2013-10-05 17:55:29 +0200 |
---|---|---|
committer | Martin Smith <martin.smith@digia.com> | 2015-05-10 08:06:45 +0000 |
commit | bf06924f3ffd22747c93a720caa501d8478dcbe6 (patch) | |
tree | 4cf2a525fffd665d1ea995ff959761f712bf3f2e /src/tools/qdoc/generator.h | |
parent | 82c3e9edc2e9990027a65705c31bd618df455d91 (diff) |
Documentation: Show an example for each overloaded signal
The new connection syntax is a bit tricky to use, when the signal or
the slot is overloaded, because one must explicitly cast to the
correct signal type.
This patch adds an example to the documentation of each overloaded
signal. The example shows how to do the cast to the correct signal
type.
Change-Id: Ifc9f28d05c2ae126a674d2ca5887935fc59cd83b
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/tools/qdoc/generator.h')
-rw-r--r-- | src/tools/qdoc/generator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/qdoc/generator.h b/src/tools/qdoc/generator.h index 535b508595..e4bcd29e52 100644 --- a/src/tools/qdoc/generator.h +++ b/src/tools/qdoc/generator.h @@ -161,6 +161,7 @@ protected: void generateThreadSafeness(const Node *node, CodeMarker *marker); QString getMetadataElement(const Aggregate* inner, const QString& t); QStringList getMetadataElements(const Aggregate* inner, const QString& t); + void generateOverloadedSignal(const Node *node, CodeMarker *marker); QString indent(int level, const QString& markedCode); QTextStream& out(); QString outFileName(); |