Diffstat (limited to 'noncore/apps/opie-console/default.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/default.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/default.cpp b/noncore/apps/opie-console/default.cpp index 5c1c05a..64c9542 100644 --- a/noncore/apps/opie-console/default.cpp +++ b/noncore/apps/opie-console/default.cpp @@ -11,3 +11,3 @@ #include "terminalwidget.h" -#include "vt102emulation.h" +#include "MyPty.h" @@ -51,2 +51,5 @@ extern "C" { } + IOLayer* newConsole( const Profile& prof ) { + return new MyPty(prof ); + } @@ -65,2 +68,5 @@ extern "C" { } + ProfileDialogWidget* newConsoleWid( const QString& str, QWidget* wid ) { + return 0l; + } @@ -68,6 +74,6 @@ extern "C" { // Terminal Widget(s) -/* ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) { + ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) { return new TerminalWidget(na, wid,0 ); } -*/ + /* // VT Emulations @@ -92,2 +98,3 @@ Default::Default( MetaFactory* fact ) { fact->addIOLayerFactory( "modem", QObject::tr("Modem"), newModemLayer ); + fact->addIOLayerFactory( "console", QObject::tr("Console"), newConsole ); @@ -97,4 +104,5 @@ Default::Default( MetaFactory* fact ) { fact->addConnectionWidgetFactory( "bt", QObject::tr("Bluetooth"), newBTWidget ); + fact->addConnectionWidgetFactory( "console", QObject::tr("Console"), newConsoleWid ); -// fact->addTerminalWidgetFactory( "default", QObject::tr("Default Terminal"), newTerminalWidget ); + fact->addTerminalWidgetFactory( "default", QObject::tr("Default Terminal"), newTerminalWidget ); |