remove unused method
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1095393
This commit is contained in:
parent
2fe71f2c64
commit
5064957612
@ -53,17 +53,9 @@ static QScriptValue protocol(QScriptContext *ctx, QScriptEngine *eng)
|
||||
return QScriptValue(eng, self->protocol());
|
||||
}
|
||||
|
||||
static QScriptValue setProtocol(QScriptContext *ctx, QScriptEngine *)
|
||||
{
|
||||
DECLARE_SELF(KUrl, setProtocol);
|
||||
QString v = ctx->argument(0).toString();
|
||||
self->setProtocol(v);
|
||||
return QScriptValue();
|
||||
}
|
||||
|
||||
static QScriptValue host(QScriptContext *ctx, QScriptEngine *eng)
|
||||
{
|
||||
DECLARE_SELF(KUrl, protocol);
|
||||
DECLARE_SELF(KUrl, host);
|
||||
if (ctx->argumentCount()) {
|
||||
QString v = ctx->argument(0).toString();
|
||||
self->setHost(v);
|
||||
|
Loading…
Reference in New Issue
Block a user