From 4b0bc4fb5a16011a6535c6aca26ba22bb0404db4 Mon Sep 17 00:00:00 2001 From: Joseph Burns Date: Tue, 29 Apr 2008 00:56:33 +0000 Subject: [PATCH] API Review: uninstallPackage -> packageName instead of param package svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802278 --- packagestructure.cpp | 2 +- packagestructure.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packagestructure.cpp b/packagestructure.cpp index aae1f9621..6ad09cdc6 100644 --- a/packagestructure.cpp +++ b/packagestructure.cpp @@ -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; diff --git a/packagestructure.h b/packagestructure.h index 238ae9efb..138e46851 100644 --- a/packagestructure.h +++ b/packagestructure.h @@ -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