diff options
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 |