summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2016-05-12 16:57:32 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2016-05-13 07:14:30 +0000
commitd80d903cfe22dba86cd8d0bdfd6a0e60bbbe0a41 (patch)
tree875c2591fd5c42385f40ef8057bf478a92240235 /src/libs
parent7093049f8cd821668207fd8254437abf10665273 (diff)
Doc: PackageManagerCore::ComponentType is now an enum
Change the documentation accordingly. Change-Id: I2f15bf724558794b66e99eab1120dc2d224600de Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/installer/packagemanagercore.cpp48
1 files changed, 21 insertions, 27 deletions
diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp
index e008a220d..e6cd4f5a4 100644
--- a/src/libs/installer/packagemanagercore.cpp
+++ b/src/libs/installer/packagemanagercore.cpp
@@ -1348,34 +1348,28 @@ void PackageManagerCore::appendRootComponent(Component *component)
}
/*!
- \class PackageManagerCore::ComponentType
- \inmodule QtInstallerFramework
- \brief The ComponentType class describes a component list.
-
- This class is used with the components() function to describe what type of \c Component
- list it should return.
-
- \list
- \li \c Root returns a list of root components.
-
- \li \c Descendants returns a list of all descendant components.
-
- \note In updater mode the list is empty, because component updates cannot have children.
-
- \li \c Dependencies returns a list of all available dependencies when run as updater.
-
- \note When running as installer, package manager, or uninstaller, this will always
- result in an empty list.
-
- \li \c Replacements returns a list of all available replacement components relevant to the
- run mode.
-
- \li \c AllNoReplacements returns a list of available components, including root, descendant,
+ \enum PackageManagerCore::ComponentType
+ \brief describes the type of the component list to be returned
+
+ \value Root
+ Returns a list of root components.
+ \value Descendants
+ Returns a list of all descendant components. In updater mode the
+ list is empty, because component updates cannot have children.
+ \value Dependencies
+ Returns a list of all available dependencies when run as updater.
+ When running as installer, package manager, or uninstaller, this
+ will always result in an empty list.
+ \value Replacements
+ Returns a list of all available replacement components relevant to
+ the run mode.
+ \value AllNoReplacements
+ Returns a list of available components, including root, descendant,
and dependency components relevant to the run mode.
-
- \li \c All returns a list of all available components, including root, descendant,
- dependency, and replacement components relevant to the run mode.
- \endlist
+ \value All
+ Returns a list of all available components, including root,
+ descendant, dependency, and replacement components relevant to the
+ run mode.
*/
/*!