|
|
|
@ -1083,7 +1083,7 @@ static VALUE
|
|
|
|
|
konsole_part_startprogram(VALUE self, VALUE value_program, VALUE value_args)
|
|
|
|
|
{
|
|
|
|
|
smokeruby_object * o = value_obj_info(self);
|
|
|
|
|
TerminalInterface * t = static_cast<TerminalInterface*>(((KParts::ReadOnlyPart*) o->ptr)->qt_cast("TerminalInterface"));
|
|
|
|
|
TerminalInterface * t = static_cast<TerminalInterface*>(((KParts::ReadOnlyPart*) o->ptr)->tqt_cast("TerminalInterface"));
|
|
|
|
|
|
|
|
|
|
TQStrList *args = new TQStrList;
|
|
|
|
|
|
|
|
|
@ -1102,7 +1102,7 @@ static VALUE
|
|
|
|
|
konsole_part_showshellindir(VALUE self, VALUE value_dir)
|
|
|
|
|
{
|
|
|
|
|
smokeruby_object * o = value_obj_info(self);
|
|
|
|
|
TerminalInterface * t = static_cast<TerminalInterface*>(((KParts::ReadOnlyPart*) o->ptr)->qt_cast("TerminalInterface"));
|
|
|
|
|
TerminalInterface * t = static_cast<TerminalInterface*>(((KParts::ReadOnlyPart*) o->ptr)->tqt_cast("TerminalInterface"));
|
|
|
|
|
t->showShellInDir(StringValuePtr(value_dir));
|
|
|
|
|
return self;
|
|
|
|
|
}
|
|
|
|
@ -1111,7 +1111,7 @@ static VALUE
|
|
|
|
|
konsole_part_sendinput(VALUE self, VALUE value_text)
|
|
|
|
|
{
|
|
|
|
|
smokeruby_object * o = value_obj_info(self);
|
|
|
|
|
TerminalInterface * t = static_cast<TerminalInterface*>(((KParts::ReadOnlyPart*) o->ptr)->qt_cast("TerminalInterface"));
|
|
|
|
|
TerminalInterface * t = static_cast<TerminalInterface*>(((KParts::ReadOnlyPart*) o->ptr)->tqt_cast("TerminalInterface"));
|
|
|
|
|
t->sendInput(StringValuePtr(value_text));
|
|
|
|
|
return self;
|
|
|
|
|
}
|
|
|
|
@ -1121,7 +1121,7 @@ static VALUE
|
|
|
|
|
konsole_part_setautostartshell(VALUE self, VALUE enabled)
|
|
|
|
|
{
|
|
|
|
|
smokeruby_object * o = value_obj_info(self);
|
|
|
|
|
ExtTerminalInterface * t = static_cast<ExtTerminalInterface*>(((KParts::ReadOnlyPart*) o->ptr)->qt_cast("ExtTerminalInterface"));
|
|
|
|
|
ExtTerminalInterface * t = static_cast<ExtTerminalInterface*>(((KParts::ReadOnlyPart*) o->ptr)->tqt_cast("ExtTerminalInterface"));
|
|
|
|
|
t->setAutoStartShell(enabled == Qtrue);
|
|
|
|
|
return self;
|
|
|
|
|
}
|
|
|
|
@ -1130,7 +1130,7 @@ static VALUE
|
|
|
|
|
konsole_part_setautodestroy(VALUE self, VALUE enabled)
|
|
|
|
|
{
|
|
|
|
|
smokeruby_object * o = value_obj_info(self);
|
|
|
|
|
ExtTerminalInterface * t = static_cast<ExtTerminalInterface*>(((KParts::ReadOnlyPart*) o->ptr)->qt_cast("ExtTerminalInterface"));
|
|
|
|
|
ExtTerminalInterface * t = static_cast<ExtTerminalInterface*>(((KParts::ReadOnlyPart*) o->ptr)->tqt_cast("ExtTerminalInterface"));
|
|
|
|
|
t->setAutoDestroy(enabled == Qtrue);
|
|
|
|
|
return self;
|
|
|
|
|
}
|
|
|
|
|