author | harlekin <harlekin> | 2002-10-12 15:44:01 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-12 15:44:01 (UTC) |
commit | e6b92ad451dba66f4eb5000a41b96eb2ee203dce (patch) (side-by-side diff) | |
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) (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 b092273..4853785 100644 --- a/noncore/apps/opie-console/default.cpp +++ b/noncore/apps/opie-console/default.cpp @@ -1,2 +1,4 @@ #include "io_serial.h" +#include "io_irda.h" +#include "io_bt.h" #include "filetransfer.h" @@ -5,2 +7,3 @@ #include "btconfigwidget.h" +#include "modemconfigwidget.h" #include "terminalwidget.h" @@ -26,7 +29,7 @@ extern "C" { } - IOLayer* newBTLayer( const Profile& ) { - return 0l; + IOLayer* newBTLayer( const Profile& prof ) { + return new IOBt( prof ); } - IOLayer* newIrDaLayer( const Profile& ) { - return 0l; + IOLayer* newIrDaLayer( const Profile& prof ) { + return new IOIrda( prof ); } @@ -40,2 +43,5 @@ extern "C" { } + ProfileDialogWidget* newModemWidget( const QString& str, QWidget* wid ) { + return new ModemConfigWidget(str, wid ); + } ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid ) { @@ -44,2 +50,3 @@ extern "C" { + // Terminal Widget(s) @@ -67,2 +74,3 @@ Default::Default( MetaFactory* fact ) { fact->addConnectionWidgetFactory( "irda", QObject::tr("Infrared"), newIrDaWidget ); + fact->addConnectionWidgetFactory( "modem", QObject::tr("Modem"), newModemWidget ); fact->addConnectionWidgetFactory( "bt", QObject::tr("Bluetooth"), newBTWidget ); |