remove Applet::category(KPluginInfo)

This commit is contained in:
Marco Martin 2013-02-12 21:50:52 +01:00
parent be8b33758e
commit 8cccff2b97
2 changed files with 0 additions and 12 deletions

View File

@ -407,11 +407,6 @@ KPluginInfo Applet::pluginInfo() const
return d->appletDescription;
}
QString Applet::category(const KPluginInfo &applet)
{
return applet.property("X-KDE-PluginInfo-Category").toString();
}
QString Applet::category(const QString &appletName)
{
if (appletName.isEmpty()) {

View File

@ -284,13 +284,6 @@ class PLASMA_EXPORT Applet : public QObject
static Applet *loadPlasmoid(const QString &path, uint appletId = 0,
const QVariantList &args = QVariantList());
/**
* Get the category of the given applet
*
* @param applet a KPluginInfo object for the applet
*/
static QString category(const KPluginInfo &applet);
/**
* Get the category of the given applet
*