summaryrefslogtreecommitdiff
path: root/noncore
authorharlekin <harlekin>2002-10-24 12:51:52 (UTC)
committer harlekin <harlekin>2002-10-24 12:51:52 (UTC)
commit36f411501a68daae3195b481d789864dfc9a2ce8 (patch) (side-by-side diff)
tree4932de557bfe5b9e7b753ca3b4cf3cfc2d60360c /noncore
parent263b907b4f3bd3be7725d234ff42be86cff39ab7 (diff)
downloadopie-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
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/default.cpp12
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
@@ -54,68 +54,68 @@ extern "C" {
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() {
}