mimetype -> MimeType

This commit is contained in:
Aaron Seigo 2011-05-06 12:23:42 +02:00
parent 15dbd12daf
commit 5aa1e5865b
2 changed files with 5 additions and 5 deletions

View File

@ -159,9 +159,9 @@ KPluginInfo::List Wallpaper::listWallpaperInfo(const QString &formFactor)
return KPluginInfo::fromServices(offers);
}
KPluginInfo::List Wallpaper::listWallpaperInfoForMimetype(const QString &mimetype, const QString &formFactor)
KPluginInfo::List Wallpaper::listWallpaperInfoForMimetype(const QString &mimeType, const QString &formFactor)
{
QString constraint = QString("'%1' in [X-Plasma-DropMimeTypes]").arg(mimetype);
QString constraint = QString("'%1' in [X-Plasma-DropMimeTypes]").arg(mimeType);
if (!formFactor.isEmpty()) {
constraint.append("[X-Plasma-FormFactors] ~~ '").append(formFactor).append("'");
}

View File

@ -103,12 +103,12 @@ class PLASMA_EXPORT Wallpaper : public QObject
static KPluginInfo::List listWallpaperInfo(const QString &formFactor = QString());
/**
* Returns a list of all known wallpapers that can accept the given mimetype
* @arg mimetype the mimetype to search for
* Returns a list of all known wallpapers that can accept the given MimeType
* @arg mimeType the mimeType to search for
* @arg formFactor the format of the wallpaper being search for (e.g. desktop)
* @return list of wallpapers
*/
static KPluginInfo::List listWallpaperInfoForMimetype(const QString &mimetype,
static KPluginInfo::List listWallpaperInfoForMimetype(const QString &mimeType,
const QString &formFactor = QString());
/**