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/bindings/iconset_imp.cpp | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
Diffstat (limited to 'kjsembed/bindings/iconset_imp.cpp')
-rw-r--r-- | kjsembed/bindings/iconset_imp.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kjsembed/bindings/iconset_imp.cpp b/kjsembed/bindings/iconset_imp.cpp index 230fbe63..43ec0f83 100644 --- a/kjsembed/bindings/iconset_imp.cpp +++ b/kjsembed/bindings/iconset_imp.cpp @@ -109,29 +109,29 @@ KJS::Value IconsetImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS: return KJS::Value(); } - if ( op->typeName() != "TTQIconSet" ) { + if ( op->typeName() != "TQIconSet" ) { kdWarning() << "IconsetImp::call() failed, type is " << op->typeName() << endl; return KJS::Value(); } - TTQIconSet iconset = op->toVariant().toIconSet(); + TQIconSet iconset = op->toVariant().toIconSet(); KJS::Value retValue = KJS::Value(); switch ( mid ) { case MethodReset: { - TTQPixmap pix = extractTQPixmap(exec, args, 0); - TTQIconSet::Size size = (TTQIconSet::Size) extractInt(exec, args, 1 ); + TQPixmap pix = extractTQPixmap(exec, args, 0); + TQIconSet::Size size = (TQIconSet::Size) extractInt(exec, args, 1 ); iconset.reset(pix,size); break; } case MethodSetPixmap: { - TTQPixmap pix = extractTQPixmap( exec, args, 0); - TTQString fname = extractTQString( exec, args, 0); - TTQIconSet::Size size = (TTQIconSet::Size) extractInt(exec, args, 1 ); - TTQIconSet::Mode mode = (TTQIconSet::Mode) extractInt( exec, args, 2 ); - TTQIconSet::State state = (TTQIconSet::State) extractInt( exec, args, 3); + TQPixmap pix = extractTQPixmap( exec, args, 0); + TQString fname = extractTQString( exec, args, 0); + TQIconSet::Size size = (TQIconSet::Size) extractInt(exec, args, 1 ); + TQIconSet::Mode mode = (TQIconSet::Mode) extractInt( exec, args, 2 ); + TQIconSet::State state = (TQIconSet::State) extractInt( exec, args, 3); if( pix.isNull() ) iconset.setPixmap( fname, size, mode, state ); else @@ -140,13 +140,13 @@ KJS::Value IconsetImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS: } case MethodPixmap: { - TTQPixmap pix; + TQPixmap pix; if( args.size() == 3 ) { - TTQIconSet::Size size = (TTQIconSet::Size)extractInt( exec, args, 0 ); - TTQIconSet::Mode mode = (TTQIconSet::Mode)extractInt( exec, args, 1 ); - TTQIconSet::State state = (TTQIconSet::State)extractInt( exec, args, 1 ); + TQIconSet::Size size = (TQIconSet::Size)extractInt( exec, args, 0 ); + TQIconSet::Mode mode = (TQIconSet::Mode)extractInt( exec, args, 1 ); + TQIconSet::State state = (TQIconSet::State)extractInt( exec, args, 1 ); pix = iconset.pixmap( size, mode, state ); } else |