KPackage
packagejob.h
35 InvalidPackageStructure = KJob::UserDefinedError + 1, /**< Could not find/load the given package structure */
42 UpdatePackageTypeMismatchError, /**< A package with this plugin id was already installed, but has a different type in the metadata.json file */
43 OldVersionRemovalError, /**< Failed to remove the old version of the package during an upgrade */
44 NewerVersionAlreadyInstalledError, /**< We tried to update, but the same version or a newer one is already installed */
45 PackageAlreadyInstalledError, /**< The package is already installed and a normal install (not update) was performed */
46 PackageMoveError, /**< Failure to move a package from the system temporary folder to its final destination */
47 PackageCopyError, /**< Failure to copy a package folder from somewhere in the filesystem to its final destination */
53 static PackageJob *install(const QString &packageFormat, const QString &sourcePackage, const QString &packageRoot = QString());
55 static PackageJob *update(const QString &packageFormat, const QString &sourcePackage, const QString &packageRoot = QString());
57 static PackageJob *uninstall(const QString &packageFormat, const QString &pluginId, const QString &packageRoot = QString());
KJob subclass that allows async install/update/uninstall operations for packages.
Definition packagejob.h:27
@ PackageMoveError
Failure to move a package from the system temporary folder to its final destination.
Definition packagejob.h:46
@ PackageCopyError
Failure to copy a package folder from somewhere in the filesystem to its final destination.
Definition packagejob.h:47
@ NewerVersionAlreadyInstalledError
We tried to update, but the same version or a newer one is already installed.
Definition packagejob.h:44
@ UnsupportedArchiveFormatError
The archive format of the package is not supported.
Definition packagejob.h:38
@ OldVersionRemovalError
Failed to remove the old version of the package during an upgrade.
Definition packagejob.h:43
@ PackageAlreadyInstalledError
The package is already installed and a normal install (not update) was performed.
Definition packagejob.h:45
@ UpdatePackageTypeMismatchError
A package with this plugin id was already installed, but has a different type in the metadata....
Definition packagejob.h:42
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:08:06 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:08:06 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.