diff options
author | Martin Smith <msmith@trolltech.com> | 2009-06-19 10:44:56 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-06-19 10:45:41 (GMT) |
commit | fbe0edc109a252efb6f2f53d04537c33f2e91fba (patch) | |
tree | 471c1f83dedf4efc1afc09eaa35b1fcc3b744a40 /src/corelib/global/qnamespace.h | |
parent | 500a851bb363567effca6d78b14a755bf56e37f1 (diff) | |
download | Qt-fbe0edc109a252efb6f2f53d04537c33f2e91fba.zip Qt-fbe0edc109a252efb6f2f53d04537c33f2e91fba.tar.gz Qt-fbe0edc109a252efb6f2f53d04537c33f2e91fba.tar.bz2 |
Changed enum Qt::Uninitialized to enum Qt::Initialization
enum Qt::Uninitialized contains one value, which is also called
Uninitialized. Because the type and the value used the same name,
wherever the type Qt::Uninitialized was used in a function signature,
you had to include the enum keyword. But qdoc's preprocessor doesn't
like that, so you have to take the enum keyword out of the signatures.
But then the compiler complains because the type and the value look
the same. So I had to change the enum type name to Initialization, so
the compiler can distinguish it from the value name. And qdoc likes
that too.
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r-- | src/corelib/global/qnamespace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 398cd48..2023327 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -1543,7 +1543,7 @@ public: TitleBarArea // For move }; - enum Uninitialized { + enum Initialization { Uninitialized }; } |