summaryrefslogtreecommitdiffstats
path: root/khtml/ecma/kjs_navigator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:57:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:57:02 -0600
commita51cd9949c4e6c726a84a61de3cfadd30cefb5c7 (patch)
treea65321bcfdb90583bcc7ef3a90fa357f6632e54c /khtml/ecma/kjs_navigator.cpp
parent984c25aa6969e55896e9a13c8e7f7b8a58991a4e (diff)
downloadtdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.tar.gz
tdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'khtml/ecma/kjs_navigator.cpp')
-rw-r--r--khtml/ecma/kjs_navigator.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/khtml/ecma/kjs_navigator.cpp b/khtml/ecma/kjs_navigator.cpp
index a14877be2..183c99078 100644
--- a/khtml/ecma/kjs_navigator.cpp
+++ b/khtml/ecma/kjs_navigator.cpp
@@ -394,7 +394,7 @@ Value Plugins::get(ExecState *exec, const Identifier &propertyName) const
bool ok;
unsigned int i = propertyName.toULong(&ok);
if( ok && i<plugins->count() )
- return Value( new Plugin( exec, plugins->tqat(i) ) );
+ return Value( new Plugin( exec, plugins->at(i) ) );
// plugin[name]
Value val = pluginByName( exec, propertyName.qstring() );
@@ -439,7 +439,7 @@ Value PluginsFunc::tryCall(ExecState *exec, Object &thisObj, const List &args)
bool ok;
unsigned int i = args[0].toString(exec).toArrayIndex(&ok);
if( ok && i<base->plugins->count() )
- return Value( new Plugin( exec, base->plugins->tqat(i) ) );
+ return Value( new Plugin( exec, base->plugins->at(i) ) );
return Undefined();
}
case Plugins_NamedItem:
@@ -479,7 +479,7 @@ Value MimeTypes::get(ExecState *exec, const Identifier &propertyName) const
bool ok;
unsigned int i = propertyName.toULong(&ok);
if( ok && i<mimes->count() )
- return Value( new MimeType( exec, mimes->tqat(i) ) );
+ return Value( new MimeType( exec, mimes->at(i) ) );
// mimeTypes[name]
Value val = mimeTypeByName( exec, propertyName.qstring() );
@@ -522,7 +522,7 @@ Value MimeTypesFunc::tryCall(ExecState *exec, Object &thisObj, const List &args)
bool ok;
unsigned int i = args[0].toString(exec).toArrayIndex(&ok);
if( ok && i<base->mimes->count() )
- return Value( new MimeType( exec, base->mimes->tqat(i) ) );
+ return Value( new MimeType( exec, base->mimes->at(i) ) );
return Undefined();
}
case MimeTypes_NamedItem:
@@ -562,8 +562,8 @@ Value Plugin::get(ExecState *exec, const Identifier &propertyName) const
//kdDebug(6070) << "Plugin::get plugin[" << i << "]" << endl;
if( ok && i<m_info->mimes.count() )
{
- //kdDebug(6070) << "returning mimetype " << m_info->mimes.tqat(i)->type << endl;
- return Value(new MimeType(exec, m_info->mimes.tqat(i)));
+ //kdDebug(6070) << "returning mimetype " << m_info->mimes.at(i)->type << endl;
+ return Value(new MimeType(exec, m_info->mimes.at(i)));
}
// plugin["name"]
@@ -609,7 +609,7 @@ Value PluginFunc::tryCall(ExecState *exec, Object &thisObj, const List &args)
bool ok;
unsigned int i = args[0].toString(exec).toArrayIndex(&ok);
if( ok && i< plugin->pluginInfo()->mimes.count() )
- return Value( new MimeType( exec, plugin->pluginInfo()->mimes.tqat(i) ) );
+ return Value( new MimeType( exec, plugin->pluginInfo()->mimes.at(i) ) );
return Undefined();
}
case Plugin_NamedItem: