remove unused method

svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1095393
This commit is contained in:
Aaron J. Seigo 2010-02-24 08:04:27 +00:00
parent 2fe71f2c64
commit 5064957612

View File

@ -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);