Const QStrings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694679
This commit is contained in:
parent
5aaccf0489
commit
075c1315ec
@ -759,7 +759,7 @@ KPluginInfo::List Applet::knownApplets(const QString &category,
|
|||||||
return KPluginInfo::fromServices(offers);
|
return KPluginInfo::fromServices(offers);
|
||||||
}
|
}
|
||||||
|
|
||||||
KPluginInfo::List Applet::knownAppletsForMimetype(QString mimetype)
|
KPluginInfo::List Applet::knownAppletsForMimetype(const QString &mimetype)
|
||||||
{
|
{
|
||||||
QString constraint = QString("'%1' in [X-Plasma-Mimetypes]").arg(mimetype);
|
QString constraint = QString("'%1' in [X-Plasma-Mimetypes]").arg(mimetype);
|
||||||
kDebug() << constraint << endl;
|
kDebug() << constraint << endl;
|
||||||
|
2
applet.h
2
applet.h
@ -244,7 +244,7 @@ class PLASMA_EXPORT Applet : public QObject, public Widget
|
|||||||
*
|
*
|
||||||
* @return list of applets
|
* @return list of applets
|
||||||
**/
|
**/
|
||||||
static KPluginInfo::List knownAppletsForMimetype(QString mimetype);
|
static KPluginInfo::List knownAppletsForMimetype(const QString &mimetype);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a list of all the categories used by
|
* Returns a list of all the categories used by
|
||||||
|
Loading…
Reference in New Issue
Block a user