Diffstat (limited to 'noncore/apps/opie-console/default.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/default.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/default.cpp b/noncore/apps/opie-console/default.cpp index 78495d2..4ab4695 100644 --- a/noncore/apps/opie-console/default.cpp +++ b/noncore/apps/opie-console/default.cpp | |||
@@ -1,8 +1,9 @@ | |||
1 | #include "io_serial.h" | 1 | #include "io_serial.h" |
2 | #include "sz_transfer.h" | 2 | #include "sz_transfer.h" |
3 | #include "terminalwidget.h" | ||
3 | 4 | ||
4 | #include "default.h" | 5 | #include "default.h" |
5 | 6 | ||
6 | extern "C" { | 7 | extern "C" { |
7 | // FILE Transfer Stuff | 8 | // FILE Transfer Stuff |
8 | FileTransferLayer* newSZTransfer(IOLayer* lay) { | 9 | FileTransferLayer* newSZTransfer(IOLayer* lay) { |
@@ -35,14 +36,14 @@ extern "C" { | |||
35 | } | 36 | } |
36 | ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid) { | 37 | ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid) { |
37 | return newSerialWidget(str, wid ); | 38 | return newSerialWidget(str, wid ); |
38 | } | 39 | } |
39 | 40 | ||
40 | // Terminal Widget(s) | 41 | // Terminal Widget(s) |
41 | ProfileDialogWidget* newTerminalWidget(const QString&, QWidget* ) { | 42 | ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) { |
42 | return 0l; | 43 | return new TerminalWidget(na, wid,0 ); |
43 | } | 44 | } |
44 | 45 | ||
45 | }; | 46 | }; |
46 | 47 | ||
47 | Default::Default( MetaFactory* fact ) { | 48 | Default::Default( MetaFactory* fact ) { |
48 | fact->addFileTransferLayer( "SZ", QObject::tr("Z-Modem"), newSZTransfer ); | 49 | fact->addFileTransferLayer( "SZ", QObject::tr("Z-Modem"), newSZTransfer ); |