author | wazlaf <wazlaf> | 2002-10-30 20:30:08 (UTC) |
---|---|---|
committer | wazlaf <wazlaf> | 2002-10-30 20:30:08 (UTC) |
commit | 3c1824f39867bc2ada45fe32785267caa5dfb04b (patch) (side-by-side diff) | |
tree | 08a6e7872f5d100cac7c1adb983e44f6b145af2f /noncore/apps/opie-console/default.cpp | |
parent | 9af1c14974a2131505b82441bfb0bf0475bb2cc9 (diff) | |
download | opie-3c1824f39867bc2ada45fe32785267caa5dfb04b.zip opie-3c1824f39867bc2ada45fe32785267caa5dfb04b.tar.gz opie-3c1824f39867bc2ada45fe32785267caa5dfb04b.tar.bz2 |
Console configuration widget done, Environment variables can now be set
Diffstat (limited to 'noncore/apps/opie-console/default.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/default.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/default.cpp b/noncore/apps/opie-console/default.cpp index 5d82c6a..b060139 100644 --- a/noncore/apps/opie-console/default.cpp +++ b/noncore/apps/opie-console/default.cpp @@ -11,4 +11,5 @@ #include "terminalwidget.h" #include "function_keyboard.h" +#include "consoleconfigwidget.h" #include "MyPty.h" @@ -68,6 +69,6 @@ extern "C" { return new BTConfigWidget(str, wid ); } - ProfileDialogWidget* newConsoleWid( const QString& , QWidget* ) { - return 0l; + ProfileDialogWidget* newConsoleWid( const QString& str, QWidget* wid ) { + return new ConsoleConfigWidget(str, wid ); } @@ -103,5 +104,5 @@ Default::Default( MetaFactory* fact ) { // fact->addIOLayerFactory( "bt", QObject::tr("Bluetooth"), newBTLayer ); fact->addIOLayerFactory( "modem", QObject::tr("Modem"), newModemLayer ); - fact->addIOLayerFactory( "console", QObject::tr("local Console"), newConsole ); + fact->addIOLayerFactory( "console", QObject::tr("Local Console"), newConsole ); fact->addConnectionWidgetFactory( "serial", QObject::tr("Serial"), newSerialWidget ); @@ -109,5 +110,5 @@ Default::Default( MetaFactory* fact ) { fact->addConnectionWidgetFactory( "modem", QObject::tr("Modem"), newModemWidget ); // fact->addConnectionWidgetFactory( "bt", QObject::tr("Bluetooth"), newBTWidget ); - fact->addConnectionWidgetFactory( "console", QObject::tr("local Console"), newConsoleWid ); + fact->addConnectionWidgetFactory( "console", QObject::tr("Local Console"), newConsoleWid ); fact->addTerminalWidgetFactory( "default", QObject::tr("Default Terminal"), newTerminalWidget ); |