author | harlekin <harlekin> | 2002-10-12 15:44:01 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-12 15:44:01 (UTC) |
commit | e6b92ad451dba66f4eb5000a41b96eb2ee203dce (patch) (unidiff) | |
tree | 07caa3f11d59c96858dd374d6b7cff90dbe3915e /noncore/apps/opie-console/default.cpp | |
parent | 83aed438ec060307bf5562d91bd8b61fe60f860b (diff) | |
download | opie-e6b92ad451dba66f4eb5000a41b96eb2ee203dce.zip opie-e6b92ad451dba66f4eb5000a41b96eb2ee203dce.tar.gz opie-e6b92ad451dba66f4eb5000a41b96eb2ee203dce.tar.bz2 |
some more stuff - modem config, bluetooth.. -, not finished
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 b092273..4853785 100644 --- a/noncore/apps/opie-console/default.cpp +++ b/noncore/apps/opie-console/default.cpp | |||
@@ -1,2 +1,4 @@ | |||
1 | #include "io_serial.h" | 1 | #include "io_serial.h" |
2 | #include "io_irda.h" | ||
3 | #include "io_bt.h" | ||
2 | #include "filetransfer.h" | 4 | #include "filetransfer.h" |
@@ -5,2 +7,3 @@ | |||
5 | #include "btconfigwidget.h" | 7 | #include "btconfigwidget.h" |
8 | #include "modemconfigwidget.h" | ||
6 | #include "terminalwidget.h" | 9 | #include "terminalwidget.h" |
@@ -26,7 +29,7 @@ extern "C" { | |||
26 | } | 29 | } |
27 | IOLayer* newBTLayer( const Profile& ) { | 30 | IOLayer* newBTLayer( const Profile& prof ) { |
28 | return 0l; | 31 | return new IOBt( prof ); |
29 | } | 32 | } |
30 | IOLayer* newIrDaLayer( const Profile& ) { | 33 | IOLayer* newIrDaLayer( const Profile& prof ) { |
31 | return 0l; | 34 | return new IOIrda( prof ); |
32 | } | 35 | } |
@@ -40,2 +43,5 @@ extern "C" { | |||
40 | } | 43 | } |
44 | ProfileDialogWidget* newModemWidget( const QString& str, QWidget* wid ) { | ||
45 | return new ModemConfigWidget(str, wid ); | ||
46 | } | ||
41 | ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid ) { | 47 | ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid ) { |
@@ -44,2 +50,3 @@ extern "C" { | |||
44 | 50 | ||
51 | |||
45 | // Terminal Widget(s) | 52 | // Terminal Widget(s) |
@@ -67,2 +74,3 @@ Default::Default( MetaFactory* fact ) { | |||
67 | fact->addConnectionWidgetFactory( "irda", QObject::tr("Infrared"), newIrDaWidget ); | 74 | fact->addConnectionWidgetFactory( "irda", QObject::tr("Infrared"), newIrDaWidget ); |
75 | fact->addConnectionWidgetFactory( "modem", QObject::tr("Modem"), newModemWidget ); | ||
68 | fact->addConnectionWidgetFactory( "bt", QObject::tr("Bluetooth"), newBTWidget ); | 76 | fact->addConnectionWidgetFactory( "bt", QObject::tr("Bluetooth"), newBTWidget ); |