diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-06-18 11:28:01 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-06-18 13:02:01 (GMT) |
commit | 450a9c97aba21db04df4af281312e4262529691a (patch) | |
tree | 392d2dbad27c91a20acdf349ce1e0b518a063b2f /src/corelib/global | |
parent | cc4935dc0641336813925b3892ffd6695d709d19 (diff) | |
download | Qt-450a9c97aba21db04df4af281312e4262529691a.zip Qt-450a9c97aba21db04df4af281312e4262529691a.tar.gz Qt-450a9c97aba21db04df4af281312e4262529691a.tar.bz2 |
Make construction of unitialized QTransform/QMatrix a no-op.
These constructors are useful when you have to create a temporary
uninitialized QTransform/QMatrix and later initialize it to something
else.
Done with Lars.
Reviewed-by: samuel
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qnamespace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 46ac40b..398cd48 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -1542,6 +1542,10 @@ public: BottomLeftSection, TitleBarArea // For move }; + + enum Uninitialized { + Uninitialized + }; } #ifdef Q_MOC_RUN ; |