Const QStrings

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694679
This commit is contained in:
Riccardo Iaconelli 2007-07-31 10:56:05 +00:00
parent 5aaccf0489
commit 075c1315ec
2 changed files with 2 additions and 2 deletions

View File

@ -759,7 +759,7 @@ KPluginInfo::List Applet::knownApplets(const QString &category,
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);
kDebug() << constraint << endl;

View File

@ -244,7 +244,7 @@ class PLASMA_EXPORT Applet : public QObject, public Widget
*
* @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