diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-01-22 18:26:25 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-24 23:18:10 +0100 |
commit | c0860d26a1b87f42842faeda3e6043a775916594 (patch) | |
tree | 0c1a1260b3dcc21e93771363412ec981ef520bb3 /src/corelib/global/qglobalstatic.h | |
parent | 314e5ce5ee03baebff4731c44c0aca871135603d (diff) |
Doc: write up the docs for Q_GLOBAL_STATIC
Change-Id: I5bf4d0d027dc8f960c94b4be3ebf7381e9ef4be1
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/global/qglobalstatic.h')
-rw-r--r-- | src/corelib/global/qglobalstatic.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/corelib/global/qglobalstatic.h b/src/corelib/global/qglobalstatic.h index 78a4acff12..487b0dfdb4 100644 --- a/src/corelib/global/qglobalstatic.h +++ b/src/corelib/global/qglobalstatic.h @@ -49,19 +49,6 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE -/* - * QGlobalStatic internals: - * - * The pointer is initialized to 0. - * The guard is initialized to 0. - * The guard can assume the following values: - * -2: object initialized and already destroyed - * -1: object initialized and is still valid - * 0: not initialized, the value of the pointer should be null - * +1: initializing, must wait until a state change happens - * (not used in the current implementation) - */ - namespace QtGlobalStatic { enum GuardValues { Destroyed = -2, |