API Review: uninstallPackage -> packageName instead of param package
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802278
This commit is contained in:
parent
2dd5891029
commit
4b0bc4fb5a
@ -359,7 +359,7 @@ bool PackageStructure::installPackage(const QString &package, const QString &pac
|
|||||||
return Package::installPackage(package, packageRoot);
|
return Package::installPackage(package, packageRoot);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PackageStructure::uninstallPackage(const QString &package, const QString &packageRoot)
|
bool PackageStructure::uninstallPackage(const QString &packageName, const QString &packageRoot)
|
||||||
{
|
{
|
||||||
//TODO: implement
|
//TODO: implement
|
||||||
return false;
|
return false;
|
||||||
|
@ -227,11 +227,11 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Uninstalls a package matching this package structure.
|
* Uninstalls a package matching this package structure.
|
||||||
*
|
*
|
||||||
* @arg package the name of the package to remove
|
* @arg packageName the name of the package to remove
|
||||||
* @arg packageRoot path to the directory where the package should be installed to
|
* @arg packageRoot path to the directory where the package should be installed to
|
||||||
* @return true on successful removal of the package, false otherwise
|
* @return true on successful removal of the package, false otherwise
|
||||||
*/
|
*/
|
||||||
virtual bool uninstallPackage(const QString& package, const QString& packageRoot);
|
virtual bool uninstallPackage(const QString& packageName, const QString& packageRoot);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the prefix inserted between the base path and content entries
|
* @return the prefix inserted between the base path and content entries
|
||||||
|
Loading…
Reference in New Issue
Block a user