summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/iconset_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindings/iconset_imp.cpp')
-rw-r--r--kjsembed/bindings/iconset_imp.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kjsembed/bindings/iconset_imp.cpp b/kjsembed/bindings/iconset_imp.cpp
index 96879546..230fbe63 100644
--- a/kjsembed/bindings/iconset_imp.cpp
+++ b/kjsembed/bindings/iconset_imp.cpp
@@ -48,7 +48,7 @@ void IconsetImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) {
return;
}
- if ( op->typeName() != "QIconset" ) {
+ if ( op->typeName() != "TQIconset" ) {
kdWarning() << "IconsetImp::addBindings() failed, type is " << op->typeName() << endl;
return;
}
@@ -109,29 +109,29 @@ KJS::Value IconsetImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS:
return KJS::Value();
}
- if ( op->typeName() != "TQIconSet" ) {
+ if ( op->typeName() != "TTQIconSet" ) {
kdWarning() << "IconsetImp::call() failed, type is " << op->typeName() << endl;
return KJS::Value();
}
- TQIconSet iconset = op->toVariant().toIconSet();
+ TTQIconSet iconset = op->toVariant().toIconSet();
KJS::Value retValue = KJS::Value();
switch ( mid ) {
case MethodReset:
{
- TQPixmap pix = extractQPixmap(exec, args, 0);
- TQIconSet::Size size = (TQIconSet::Size) extractInt(exec, args, 1 );
+ TTQPixmap pix = extractTQPixmap(exec, args, 0);
+ TTQIconSet::Size size = (TTQIconSet::Size) extractInt(exec, args, 1 );
iconset.reset(pix,size);
break;
}
case MethodSetPixmap:
{
- TQPixmap pix = extractQPixmap( exec, args, 0);
- TQString fname = extractQString( 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);
+ 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);
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:
{
- TQPixmap pix;
+ TTQPixmap pix;
if( args.size() == 3 )
{
- 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 );
+ 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 );
pix = iconset.pixmap( size, mode, state );
}
else