diff options
author | Florian Bruhin <git@the-compiler.org> | 2015-05-18 11:29:31 +0200 |
---|---|---|
committer | Florian Bruhin <qt-project.org@the-compiler.org> | 2015-06-01 08:23:47 +0000 |
commit | 2cb17c1fb903434274e58692c9f0df619affdab0 (patch) | |
tree | 22729b0b0cbd9650a6b625edd236ef852f9255e9 /src | |
parent | 133d55dd17cb775d21ef2763285dc5e29781d808 (diff) |
Improve documentation for Qt::ItemNeverHasChildren.
Change-Id: Ied817314d6e72f08a81138bd817c8570d586fa30
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qnamespace.qdoc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 3f9526c788..87056b79f0 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -2562,6 +2562,7 @@ \value ItemIsEnabled The user can interact with the item. \value ItemIsTristate The item is checkable with three separate states. \value ItemNeverHasChildren The item never has child items. + This is used for optimization purposes only. Note that checkable items need to be given both a suitable set of flags and an initial state, indicating whether the item is checked or not. |