API Review: uninstallPackage -> packageName instead of param package

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802278
This commit is contained in:
Joseph Burns 2008-04-29 00:56:33 +00:00
parent 2dd5891029
commit 4b0bc4fb5a
2 changed files with 3 additions and 3 deletions

View File

@ -359,7 +359,7 @@ bool PackageStructure::installPackage(const QString &package, const QString &pac
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
return false;

View File

@ -227,11 +227,11 @@ public:
/**
* 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
* @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