diff options
author | Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> | 2015-03-11 14:35:22 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> | 2015-03-11 13:53:23 +0000 |
commit | 5f6afc7d268dd16dd3f28d3579ae9517954a6553 (patch) | |
tree | 9d6ec65e6a6ff2ccbb21ad172e97985443243d0d /src/libs | |
parent | 2eb21e190b6ff2813be1a0ae5eb1542699073304 (diff) |
Doc: update docs for component selection
The selected property seems to be gone, so QDoc now
wants isSelected() and isSelectedForInstallation()
documented.
Change-Id: I638f297a77ebd787a627374e71acab2026e49593
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/installer/component.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp index 1aaf25a73..57a86748a 100644 --- a/src/libs/installer/component.cpp +++ b/src/libs/installer/component.cpp @@ -119,12 +119,6 @@ static const QLatin1String scForcedInstallation("ForcedInstallation"); */ /*! - \property Component::selected - - \brief Whether the component is currently selected. -*/ - -/*! \property Component::autoCreateOperations \brief Whether some standard operations for the component should be @@ -1104,6 +1098,9 @@ bool Component::isVirtual() const return d->m_vars.value(scVirtual, scFalse).toLower() == scTrue; } +/*! + Returns whether the component is selected. +*/ bool Component::isSelected() const { return checkState() != Qt::Unchecked; @@ -1240,6 +1237,9 @@ bool Component::installationRequested() const return installAction() == Install; } +/*! + Returns whether the component is selected for installation. +*/ bool Component::isSelectedForInstallation() const { return !isInstalled() && isSelected(); |