author | ibotty <ibotty> | 2002-10-11 18:40:51 (UTC) |
---|---|---|
committer | ibotty <ibotty> | 2002-10-11 18:40:51 (UTC) |
commit | b6822170c525fd2cebf31647db4435f995fa9d63 (patch) (unidiff) | |
tree | e77c83e95e34519fba441eb080ee5a238f3f7b0c /noncore/apps/opie-console/default.cpp | |
parent | 35c5d56d076786fd175655e7b2fc4b93cd433a86 (diff) | |
download | opie-b6822170c525fd2cebf31647db4435f995fa9d63.zip opie-b6822170c525fd2cebf31647db4435f995fa9d63.tar.gz opie-b6822170c525fd2cebf31647db4435f995fa9d63.tar.bz2 |
altered, to use widgetLayer over widget
Diffstat (limited to 'noncore/apps/opie-console/default.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/default.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/default.cpp b/noncore/apps/opie-console/default.cpp index 62f02f5..a6c3bc4 100644 --- a/noncore/apps/opie-console/default.cpp +++ b/noncore/apps/opie-console/default.cpp | |||
@@ -39,25 +39,25 @@ extern "C" { | |||
39 | return new IrdaConfigWidget( str, wid ); | 39 | return new IrdaConfigWidget( str, wid ); |
40 | } | 40 | } |
41 | ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid ) { | 41 | ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid ) { |
42 | return new BTConfigWidget(str, wid ); | 42 | return new BTConfigWidget(str, wid ); |
43 | } | 43 | } |
44 | 44 | ||
45 | // Terminal Widget(s) | 45 | // Terminal Widget(s) |
46 | ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) { | 46 | ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) { |
47 | return new TerminalWidget(na, wid,0 ); | 47 | return new TerminalWidget(na, wid,0 ); |
48 | } | 48 | } |
49 | 49 | ||
50 | // VT Emulations | 50 | // VT Emulations |
51 | EmulationLayer* newVT102( Widget* wid ) { | 51 | EmulationLayer* newVT102( WidgetLayer* wid ) { |
52 | return new Vt102Emulation( wid ); | 52 | return new Vt102Emulation( wid ); |
53 | } | 53 | } |
54 | 54 | ||
55 | }; | 55 | }; |
56 | 56 | ||
57 | Default::Default( MetaFactory* fact ) { | 57 | Default::Default( MetaFactory* fact ) { |
58 | fact->addFileTransferLayer( "SZ", QObject::tr("Z-Modem"), newSZTransfer ); | 58 | fact->addFileTransferLayer( "SZ", QObject::tr("Z-Modem"), newSZTransfer ); |
59 | fact->addFileTransferLayer( "SY", QObject::tr("Y-Modem"), newSYTransfer ); | 59 | fact->addFileTransferLayer( "SY", QObject::tr("Y-Modem"), newSYTransfer ); |
60 | fact->addFileTransferLayer( "SX", QObject::tr("X-Modem"), newSXTransfer ); | 60 | fact->addFileTransferLayer( "SX", QObject::tr("X-Modem"), newSXTransfer ); |
61 | 61 | ||
62 | fact->addIOLayerFactory( "serial", QObject::tr("Serial"), newSerialLayer ); | 62 | fact->addIOLayerFactory( "serial", QObject::tr("Serial"), newSerialLayer ); |
63 | fact->addIOLayerFactory( "irda", QObject::tr("Infrared"), newIrDaLayer ); | 63 | fact->addIOLayerFactory( "irda", QObject::tr("Infrared"), newIrDaLayer ); |