diff options
Diffstat (limited to 'kjsembed/builtins/stdaction_imp.cpp')
-rw-r--r-- | kjsembed/builtins/stdaction_imp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kjsembed/builtins/stdaction_imp.cpp b/kjsembed/builtins/stdaction_imp.cpp index aa1c43ed..ce471158 100644 --- a/kjsembed/builtins/stdaction_imp.cpp +++ b/kjsembed/builtins/stdaction_imp.cpp @@ -81,13 +81,13 @@ KJS::Value StdActionImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, cons const char *slc = sl.isNull() ? "" : sl.ascii(); TQObject *parentobj = extractTQObject( exec, args, 2 ); - KActionCollection *parent = parentobj ? dynamic_cast<KActionCollection *>( parentobj ) : 0; + TDEActionCollection *parent = parentobj ? dynamic_cast<TDEActionCollection *>( parentobj ) : 0; KStdAction::StdAction actid = static_cast<KStdAction::StdAction>(id); const char *arg3 = (args.size() == 4) ? args[3].toString(exec).ascii() : KStdAction::name( actid ); // Create the object - KAction *act = KStdAction::create( actid, arg3, recv, slc, parent ); + TDEAction *act = KStdAction::create( actid, arg3, recv, slc, parent ); return jsfact->createProxy( exec, act ); } |