prepend known to the method name, makes it more consistent with the rest of the API
huzzah for documentation showing up warts :) svn path=/trunk/KDE/kdebase/workspace/; revision=1214676
This commit is contained in:
parent
9d934932d4
commit
b46779dcc5
@ -512,7 +512,7 @@ QScriptValue ScriptEngine::userDataPath(QScriptContext *context, QScriptEngine *
|
||||
return QString();
|
||||
}
|
||||
|
||||
QScriptValue ScriptEngine::wallpaperPlugins(QScriptContext *context, QScriptEngine *engine)
|
||||
QScriptValue ScriptEngine::knownWallpaperPlugins(QScriptContext *context, QScriptEngine *engine)
|
||||
{
|
||||
Q_UNUSED(engine)
|
||||
|
||||
@ -568,7 +568,7 @@ void ScriptEngine::setupEngine()
|
||||
m_scriptSelf.setProperty("defaultApplication", newFunction(ScriptEngine::defaultApplication));
|
||||
m_scriptSelf.setProperty("userDataPath", newFunction(ScriptEngine::userDataPath));
|
||||
m_scriptSelf.setProperty("applicationPath", newFunction(ScriptEngine::applicationPath));
|
||||
m_scriptSelf.setProperty("wallpaperPlugins", newFunction(ScriptEngine::wallpaperPlugins));
|
||||
m_scriptSelf.setProperty("knownWallpaperPlugins", newFunction(ScriptEngine::knownWallpaperPlugins));
|
||||
|
||||
setGlobalObject(m_scriptSelf);
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ private:
|
||||
static QScriptValue defaultApplication(QScriptContext *context, QScriptEngine *engine);
|
||||
static QScriptValue applicationPath(QScriptContext *context, QScriptEngine *engine);
|
||||
static QScriptValue userDataPath(QScriptContext *context, QScriptEngine *engine);
|
||||
static QScriptValue wallpaperPlugins(QScriptContext *context, QScriptEngine *engine);
|
||||
static QScriptValue knownWallpaperPlugins(QScriptContext *context, QScriptEngine *engine);
|
||||
|
||||
// helpers
|
||||
static QScriptValue createContainment(const QString &type, const QString &defautPlugin,
|
||||
|
Loading…
Reference in New Issue
Block a user