diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/builtins/textstream_imp.cpp | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
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 de155cfa..d28bb46c 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, TTQTextStream *textstream ) +TextStreamImp::TextStreamImp( KJS::ExecState *exec, int mid, TQTextStream *textstream ) : JSProxyImp(exec), id(mid), ts(textstream) { } @@ -47,7 +47,7 @@ void TextStreamImp::addBindings( KJS::ExecState *exec, KJS::Object &parent ) return; } - TTQTextStream *ts = op->toTextStream(); + TQTextStream *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 ) { - 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 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 arg0 = extractTQString(exec, args, 0); + TQString arg0 = extractTQString(exec, args, 0); - TTQIODevice *dev = ts->device(); + TQIODevice *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() ) { - TTQString line = ts->readLine(); + TQString line = ts->readLine(); if ( line.isNull() ) return KJS::Null(); else |