author | harlekin <harlekin> | 2002-10-24 12:51:52 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-24 12:51:52 (UTC) |
commit | 36f411501a68daae3195b481d789864dfc9a2ce8 (patch) (side-by-side diff) | |
tree | 4932de557bfe5b9e7b753ca3b4cf3cfc2d60360c | |
parent | 263b907b4f3bd3be7725d234ff42be86cff39ab7 (diff) | |
download | opie-36f411501a68daae3195b481d789864dfc9a2ce8.zip opie-36f411501a68daae3195b481d789864dfc9a2ce8.tar.gz opie-36f411501a68daae3195b481d789864dfc9a2ce8.tar.bz2 |
deactivated irda and bluetooth special mode until they are ready, as long as there is allready a serial connection via irda or bluetooth these are of course usable via the normal serial layer
-rw-r--r-- | noncore/apps/opie-console/default.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/default.cpp b/noncore/apps/opie-console/default.cpp index 19640d8..5d82c6a 100644 --- a/noncore/apps/opie-console/default.cpp +++ b/noncore/apps/opie-console/default.cpp @@ -38,84 +38,84 @@ extern "C" { } // Layer stuff IOLayer* newSerialLayer( const Profile& prof) { return new IOSerial( prof ); } IOLayer* newBTLayer( const Profile& prof ) { return new IOBt( prof ); } IOLayer* newIrDaLayer( const Profile& prof ) { return new IOIrda( prof ); } IOLayer* newModemLayer( const Profile& prof ) { return new IOModem( prof ); } IOLayer* newConsole( const Profile& prof ) { return new MyPty( prof ); } // Connection Widgets ProfileDialogWidget* newSerialWidget( const QString& str, QWidget* wid ) { return new SerialConfigWidget( str, wid ); } ProfileDialogWidget* newIrDaWidget( const QString& str, QWidget* wid ) { return new IrdaConfigWidget( str, wid ); } ProfileDialogWidget* newModemWidget( const QString& str, QWidget* wid ) { return new ModemConfigWidget(str, wid ); } ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid ) { return new BTConfigWidget(str, wid ); } ProfileDialogWidget* newConsoleWid( const QString& , QWidget* ) { return 0l; } // Terminal Widget(s) ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) { return new TerminalWidget(na, wid,0 ); } // Function Keyboard Widget ProfileDialogWidget* newKeyboardWidget(const QString& na, QWidget *wid) { return new FunctionKeyboardConfig(na, wid); } /* // VT Emulations EmulationLayer* newVT102( WidgetLayer* wid ) { return new Vt102Emulation( wid ); } */ }; Default::Default( MetaFactory* fact ) { fact->addFileTransferLayer( "SZ", QObject::tr("Z-Modem"), newSZTransfer ); fact->addFileTransferLayer( "SY", QObject::tr("Y-Modem"), newSYTransfer ); fact->addFileTransferLayer( "SX", QObject::tr("X-Modem"), newSXTransfer ); fact->addReceiveLayer( "SZ", QObject::tr("Z-Modem"), newSZReceive ); fact->addReceiveLayer( "SY", QObject::tr("Y-Modem"), newSYReceive ); fact->addReceiveLayer( "SX", QObject::tr("X-Modem"), newSXReceive ); fact->addIOLayerFactory( "serial", QObject::tr("Serial"), newSerialLayer ); - fact->addIOLayerFactory( "irda", QObject::tr("Infrared"), newIrDaLayer ); - fact->addIOLayerFactory( "bt", QObject::tr("Bluetooth"), newBTLayer ); +// fact->addIOLayerFactory( "irda", QObject::tr("Infrared"), newIrDaLayer ); +// fact->addIOLayerFactory( "bt", QObject::tr("Bluetooth"), newBTLayer ); fact->addIOLayerFactory( "modem", QObject::tr("Modem"), newModemLayer ); - fact->addIOLayerFactory( "console", QObject::tr("Console"), newConsole ); + fact->addIOLayerFactory( "console", QObject::tr("local Console"), newConsole ); fact->addConnectionWidgetFactory( "serial", QObject::tr("Serial"), newSerialWidget ); - fact->addConnectionWidgetFactory( "irda", QObject::tr("Infrared"), newIrDaWidget ); +// fact->addConnectionWidgetFactory( "irda", QObject::tr("Infrared"), newIrDaWidget ); fact->addConnectionWidgetFactory( "modem", QObject::tr("Modem"), newModemWidget ); - fact->addConnectionWidgetFactory( "bt", QObject::tr("Bluetooth"), newBTWidget ); - fact->addConnectionWidgetFactory( "console", QObject::tr("Console"), newConsoleWid ); +// fact->addConnectionWidgetFactory( "bt", QObject::tr("Bluetooth"), newBTWidget ); + fact->addConnectionWidgetFactory( "console", QObject::tr("local Console"), newConsoleWid ); fact->addTerminalWidgetFactory( "default", QObject::tr("Default Terminal"), newTerminalWidget ); fact->addKeyboardWidgetFactory( "defaultKeys", QObject::tr("Default Keyboard"), newKeyboardWidget ); // fact->addEmulationLayer( "default", QObject::tr("Default Terminal"), newVT102 ); } Default::~Default() { } |