summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/default.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/default.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/default.cpp16
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 @@
11#include "terminalwidget.h" 11#include "terminalwidget.h"
12#include "vt102emulation.h" 12#include "MyPty.h"
13 13
@@ -51,2 +51,5 @@ extern "C" {
51 } 51 }
52 IOLayer* newConsole( const Profile& prof ) {
53 return new MyPty(prof );
54 }
52 55
@@ -65,2 +68,5 @@ extern "C" {
65 } 68 }
69 ProfileDialogWidget* newConsoleWid( const QString& str, QWidget* wid ) {
70 return 0l;
71 }
66 72
@@ -68,6 +74,6 @@ extern "C" {
68 // Terminal Widget(s) 74 // Terminal Widget(s)
69/* ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) { 75 ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) {
70 return new TerminalWidget(na, wid,0 ); 76 return new TerminalWidget(na, wid,0 );
71 } 77 }
72*/ 78
73/* // VT Emulations 79/* // VT Emulations
@@ -92,2 +98,3 @@ Default::Default( MetaFactory* fact ) {
92 fact->addIOLayerFactory( "modem", QObject::tr("Modem"), newModemLayer ); 98 fact->addIOLayerFactory( "modem", QObject::tr("Modem"), newModemLayer );
99 fact->addIOLayerFactory( "console", QObject::tr("Console"), newConsole );
93 100
@@ -97,4 +104,5 @@ Default::Default( MetaFactory* fact ) {
97 fact->addConnectionWidgetFactory( "bt", QObject::tr("Bluetooth"), newBTWidget ); 104 fact->addConnectionWidgetFactory( "bt", QObject::tr("Bluetooth"), newBTWidget );
105 fact->addConnectionWidgetFactory( "console", QObject::tr("Console"), newConsoleWid );
98 106
99// fact->addTerminalWidgetFactory( "default", QObject::tr("Default Terminal"), newTerminalWidget ); 107 fact->addTerminalWidgetFactory( "default", QObject::tr("Default Terminal"), newTerminalWidget );
100 108