summaryrefslogtreecommitdiff
path: root/qt4/tools
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2010-10-29 09:46:59 -0200
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2010-10-29 09:46:59 -0200
commit8fe51a4a9c22e2ff28d3e5735159130ae697ff14 (patch)
tree3f3e437443a2ead91a0321df65f00c72c5241c11 /qt4/tools
parent0d0c8cd607037f68d4f1cba30a61175722550ea5 (diff)
qt4-constants-gen.py: Improved docs for new macros expanding to QLatin1String.
Diffstat (limited to 'qt4/tools')
-rw-r--r--qt4/tools/qt4-constants-gen.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/qt4/tools/qt4-constants-gen.py b/qt4/tools/qt4-constants-gen.py
index de40828de..44f97cf38 100644
--- a/qt4/tools/qt4-constants-gen.py
+++ b/qt4/tools/qt4-constants-gen.py
@@ -147,7 +147,8 @@ namespace %s
/**
* \\ingroup ifacestrconsts
*
- * The interface name "%(name)s".
+ * The interface name "%(name)s" as a QLatin1String, usable in QString requiring contexts even when
+ * building with Q_NO_CAST_FROM_ASCII defined.
*/
#define %(DEFINE)s QLatin1String("%(name)s")
@@ -180,7 +181,8 @@ namespace %s
/**
* \\ingroup errorstrconsts
*
- * The error name "%(fullname)s".
+ * The error name "%(fullname)s" as a QLatin1String, usable in QString requiring contexts even when
+ * building with Q_NO_CAST_FROM_ASCII defined.
%(docstring)s\
*/
#define %(DEFINE)s QLatin1String("%(fullname)s")