Mercurial > projects > qtd
diff qt/QGlobal.d @ 194:ba7abb5c9e03
move the generated data from qt.QGlobal to qt.QDefines.
author | SokoL_SD |
---|---|
date | Mon, 13 Jul 2009 10:39:41 +0000 |
parents | a212c97edcd2 |
children | 27497bbe62a1 |
line wrap: on
line diff
--- a/qt/QGlobal.d Sun Jul 12 23:01:50 2009 +0000 +++ b/qt/QGlobal.d Mon Jul 13 10:39:41 2009 +0000 @@ -1,6 +1,7 @@ module qt.QGlobal; public import qt.qtd.Str; +public import qt.QDefines; version (Tango) { @@ -48,13 +49,6 @@ return arg; } -// TODO(katrina) get this from the C++ side -const char[] QT_VERSION_STR = "4.5.0"; -/* - QT_VERSION is (major << 16) + (minor << 8) + patch. - //TODO(katrina) get this from the C++ side -*/ -const int QT_VERSION = 0x040403; /* can be used like #if (QT_VERSION >= QT_VERSION_CHECK(4, 4, 0)) */