remove Applet::category(KPluginInfo)
This commit is contained in:
parent
be8b33758e
commit
8cccff2b97
@ -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()) {
|
||||
|
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user