|
|
@ -93,7 +93,7 @@ void console::loadKonsole()
|
|
|
|
KLibFactory* factory = KLibLoader::self()->factory( "libsanekonsolepart" );
|
|
|
|
KLibFactory* factory = KLibLoader::self()->factory( "libsanekonsolepart" );
|
|
|
|
if (!factory)
|
|
|
|
if (!factory)
|
|
|
|
factory = KLibLoader::self()->factory( "libkonsolepart" );
|
|
|
|
factory = KLibLoader::self()->factory( "libkonsolepart" );
|
|
|
|
konsole = static_cast<KParts::Part*>( factory->create( TQT_TQOBJECT(konsoleFrame), "konsolepart", "TQObject", "KParts::ReadOnlyPart" ) );
|
|
|
|
konsole = static_cast<KParts::Part*>( factory->create( konsoleFrame, "konsolepart", "TQObject", "KParts::ReadOnlyPart" ) );
|
|
|
|
terminal()->setAutoDestroy( true );
|
|
|
|
terminal()->setAutoDestroy( true );
|
|
|
|
terminal()->setAutoStartShell( false );
|
|
|
|
terminal()->setAutoStartShell( false );
|
|
|
|
konsole->widget()->setGeometry(0, 0, konsoleFrame->width(), konsoleFrame->height());
|
|
|
|
konsole->widget()->setGeometry(0, 0, konsoleFrame->width(), konsoleFrame->height());
|
|
|
|