mimetype -> MimeType
This commit is contained in:
parent
15dbd12daf
commit
5aa1e5865b
@ -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("'");
|
||||
}
|
||||
|
@ -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());
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user