API review Plasma::Package::knownPackages() -> Plasma::Package::listInstalled()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801796
This commit is contained in:
Anne-Marie Mahfouf 2008-04-27 19:22:29 +00:00
parent df1ba079e8
commit 26a01ffb64
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ const PackageStructure::Ptr Package::structure() const
//TODO: provide a version of this that allows one to ask for certain types of packages, etc?
// should we be using KService here instead/as well?
QStringList Package::knownPackages(const QString& packageRoot) // static
QStringList Package::listInstalled(const QString& packageRoot) // static
{
QDir dir(packageRoot);

View File

@ -117,7 +117,7 @@ class PLASMA_EXPORT Package
* have been installed to
* @return a list of installed Plasmagik packages
**/
static QStringList knownPackages(const QString &packageRoot);
static QStringList listInstalled(const QString &packageRoot);
/**
* Installs a package.