summaryrefslogtreecommitdiffstats
path: root/src/tools/moc
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-07-31 00:58:21 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-07-31 02:00:47 (GMT)
commitdee897be8d8a9bbb67f654cee89337af6db09872 (patch)
tree42481433edc4ac0302918c02d8a34d28caa1a690 /src/tools/moc
parent33e475e2f39b26327c60a52bc02ad50500ad7cbe (diff)
downloadQt-dee897be8d8a9bbb67f654cee89337af6db09872.zip
Qt-dee897be8d8a9bbb67f654cee89337af6db09872.tar.gz
Qt-dee897be8d8a9bbb67f654cee89337af6db09872.tar.bz2
Reorder flag values in ascending order
Reviewed-by: Roberto Raggi
Diffstat (limited to 'src/tools/moc')
-rw-r--r--src/tools/moc/generator.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tools/moc/generator.cpp b/src/tools/moc/generator.cpp
index 6df762d..dd31336 100644
--- a/src/tools/moc/generator.cpp
+++ b/src/tools/moc/generator.cpp
@@ -56,6 +56,8 @@ enum PropertyFlags {
EnumOrFlag = 0x00000008,
StdCppSet = 0x00000100,
// Override = 0x00000200,
+ Constant = 0x00000400,
+ Final = 0x00000800,
Designable = 0x00001000,
ResolveDesignable = 0x00002000,
Scriptable = 0x00004000,
@@ -67,10 +69,9 @@ enum PropertyFlags {
User = 0x00100000,
ResolveUser = 0x00200000,
Notify = 0x00400000,
- Dynamic = 0x00800000,
- Constant = 0x00000400,
- Final = 0x00000800
+ Dynamic = 0x00800000
};
+
enum MethodFlags {
AccessPrivate = 0x00,
AccessProtected = 0x01,