summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/default.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/default.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/default.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/default.cpp b/noncore/apps/opie-console/default.cpp
index da6f3e2..62f02f5 100644
--- a/noncore/apps/opie-console/default.cpp
+++ b/noncore/apps/opie-console/default.cpp
@@ -1,9 +1,11 @@
#include "io_serial.h"
#include "sz_transfer.h"
#include "serialconfigwidget.h"
+#include "irdaconfigwidget.h"
+#include "btconfigwidget.h"
#include "terminalwidget.h"
#include "vt102emulation.h"
#include "default.h"
extern "C" {
@@ -31,16 +33,16 @@ extern "C" {
// Connection Widgets
ProfileDialogWidget* newSerialWidget(const QString& str, QWidget* wid) {
return new SerialConfigWidget(str, wid );
}
ProfileDialogWidget* newIrDaWidget( const QString& str, QWidget* wid) {
- return newSerialWidget(str, wid);
+ return new IrdaConfigWidget( str, wid );
}
ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid) {
- return newSerialWidget(str, wid );
+ return new BTConfigWidget(str, wid );
}
// Terminal Widget(s)
ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) {
return new TerminalWidget(na, wid,0 );
}