summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.cpp
diff options
context:
space:
mode:
authorPeter Yard <peter.yard@nokia.com>2009-10-06 03:32:18 (GMT)
committerPeter Yard <peter.yard@nokia.com>2009-10-06 03:32:18 (GMT)
commitd96392b83aab8b5b9bb5e951729dba938396e28b (patch)
tree6b5bc857d8fdbaa3f3f85da9188acdab11b65295 /src/corelib/global/qglobal.cpp
parentba11343826229e983cb1d38811c8363d355e2e01 (diff)
downloadQt-d96392b83aab8b5b9bb5e951729dba938396e28b.zip
Qt-d96392b83aab8b5b9bb5e951729dba938396e28b.tar.gz
Qt-d96392b83aab8b5b9bb5e951729dba938396e28b.tar.bz2
Added QT_VERSION_CHECK to docs.
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
-rw-r--r--src/corelib/global/qglobal.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index 63e2891..742f4ec 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -955,6 +955,17 @@ QT_BEGIN_NAMESPACE
*/
/*!
+ \macro QT_VERSION_CHECK
+ \relates <QtGlobal>
+
+ Turns the major, minor and patch numbers of a version into an
+ integer, 0xMMNNPP (MM = major, NN = minor, PP = patch). This can
+ be compared with another similarly processed version id.
+
+ \sa QT_VERSION
+*/
+
+/*!
\macro QT_VERSION
\relates <QtGlobal>