author | zecke <zecke> | 2002-10-14 22:58:11 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-14 22:58:11 (UTC) |
commit | d7290c6b24266303abd95e7f38c0fecae395f355 (patch) (unidiff) | |
tree | f8202b056d9ae8de1cfa818de60ff2929c520f90 /noncore/apps/opie-console/default.cpp | |
parent | f5d1ce4b3887e0f09704abad5b9414c9cd90be4b (diff) | |
download | opie-d7290c6b24266303abd95e7f38c0fecae395f355.zip opie-d7290c6b24266303abd95e7f38c0fecae395f355.tar.gz opie-d7290c6b24266303abd95e7f38c0fecae395f355.tar.bz2 |
A small console emulation layer...
And some configuration stuff
fonts are working colors are not fully working
BackGround and ForeGround both are black :(
Diffstat (limited to 'noncore/apps/opie-console/default.cpp') (more/less context) (ignore 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 @@ | |||
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 | ||