diff options
Diffstat (limited to 'kjsembed/builtins/textstream_imp.cpp')
-rw-r--r-- | kjsembed/builtins/textstream_imp.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kjsembed/builtins/textstream_imp.cpp b/kjsembed/builtins/textstream_imp.cpp index 4ab3aeb1..de155cfa 100644 --- a/kjsembed/builtins/textstream_imp.cpp +++ b/kjsembed/builtins/textstream_imp.cpp @@ -28,7 +28,7 @@ namespace KJSEmbed { namespace BuiltIns { -TextStreamImp::TextStreamImp( KJS::ExecState *exec, int mid, TQTextStream *textstream ) +TextStreamImp::TextStreamImp( KJS::ExecState *exec, int mid, TTQTextStream *textstream ) : JSProxyImp(exec), id(mid), ts(textstream) { } @@ -47,7 +47,7 @@ void TextStreamImp::addBindings( KJS::ExecState *exec, KJS::Object &parent ) return; } - TQTextStream *ts = op->toTextStream(); + TTQTextStream *ts = op->toTextStream(); if ( !ts ) { kdWarning() << "TextStreamImp::addBindings() failed, type is " << op->typeName() << endl; return; @@ -73,12 +73,12 @@ void TextStreamImp::addBindings( KJS::ExecState *exec, KJS::Object &parent ) KJS::Value TextStreamImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, const KJS::List &args ) { - TQString not_readable = i18n( "Attempt to read from a write-only text stream." ); - TQString not_writable = i18n( "Attempt to write to a read-only text stream." ); + TTQString not_readable = i18n( "Attempt to read from a write-only text stream." ); + TTQString not_writable = i18n( "Attempt to write to a read-only text stream." ); - TQString arg0 = extractQString(exec, args, 0); + TTQString arg0 = extractTQString(exec, args, 0); - TQIODevice *dev = ts->device(); + TTQIODevice *dev = ts->device(); KJS::Object err; switch ( id ) { @@ -102,7 +102,7 @@ KJS::Value TextStreamImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, con break; case MethodReadLine: if ( dev->isReadable() ) { - TQString line = ts->readLine(); + TTQString line = ts->readLine(); if ( line.isNull() ) return KJS::Null(); else |