From 5aa1e5865bae645dbf6e8a240a791f84a0d3d09b Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Fri, 6 May 2011 12:23:42 +0200 Subject: [PATCH] mimetype -> MimeType --- wallpaper.cpp | 4 ++-- wallpaper.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wallpaper.cpp b/wallpaper.cpp index d369137d8..56215e1b3 100644 --- a/wallpaper.cpp +++ b/wallpaper.cpp @@ -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("'"); } diff --git a/wallpaper.h b/wallpaper.h index 1adee4549..0dd113938 100644 --- a/wallpaper.h +++ b/wallpaper.h @@ -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()); /**