summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console
Unidiff
Diffstat (limited to 'noncore/apps/opie-console') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/default.cpp2
-rw-r--r--noncore/apps/opie-console/default.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/default.cpp b/noncore/apps/opie-console/default.cpp
index 62f02f5..a6c3bc4 100644
--- a/noncore/apps/opie-console/default.cpp
+++ b/noncore/apps/opie-console/default.cpp
@@ -39,25 +39,25 @@ extern "C" {
39 return new IrdaConfigWidget( str, wid ); 39 return new IrdaConfigWidget( str, wid );
40 } 40 }
41 ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid ) { 41 ProfileDialogWidget* newBTWidget( const QString& str, QWidget* wid ) {
42 return new BTConfigWidget(str, wid ); 42 return new BTConfigWidget(str, wid );
43 } 43 }
44 44
45 // Terminal Widget(s) 45 // Terminal Widget(s)
46 ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) { 46 ProfileDialogWidget* newTerminalWidget(const QString& na, QWidget* wid) {
47 return new TerminalWidget(na, wid,0 ); 47 return new TerminalWidget(na, wid,0 );
48 } 48 }
49 49
50 // VT Emulations 50 // VT Emulations
51 EmulationLayer* newVT102( Widget* wid ) { 51 EmulationLayer* newVT102( WidgetLayer* wid ) {
52 return new Vt102Emulation( wid ); 52 return new Vt102Emulation( wid );
53 } 53 }
54 54
55}; 55};
56 56
57Default::Default( MetaFactory* fact ) { 57Default::Default( MetaFactory* fact ) {
58 fact->addFileTransferLayer( "SZ", QObject::tr("Z-Modem"), newSZTransfer ); 58 fact->addFileTransferLayer( "SZ", QObject::tr("Z-Modem"), newSZTransfer );
59 fact->addFileTransferLayer( "SY", QObject::tr("Y-Modem"), newSYTransfer ); 59 fact->addFileTransferLayer( "SY", QObject::tr("Y-Modem"), newSYTransfer );
60 fact->addFileTransferLayer( "SX", QObject::tr("X-Modem"), newSXTransfer ); 60 fact->addFileTransferLayer( "SX", QObject::tr("X-Modem"), newSXTransfer );
61 61
62 fact->addIOLayerFactory( "serial", QObject::tr("Serial"), newSerialLayer ); 62 fact->addIOLayerFactory( "serial", QObject::tr("Serial"), newSerialLayer );
63 fact->addIOLayerFactory( "irda", QObject::tr("Infrared"), newIrDaLayer ); 63 fact->addIOLayerFactory( "irda", QObject::tr("Infrared"), newIrDaLayer );
diff --git a/noncore/apps/opie-console/default.h b/noncore/apps/opie-console/default.h
index b9af898..4d51db8 100644
--- a/noncore/apps/opie-console/default.h
+++ b/noncore/apps/opie-console/default.h
@@ -11,24 +11,24 @@ extern "C" {
11 FileTransferLayer* newSXTransfer(IOLayer*); 11 FileTransferLayer* newSXTransfer(IOLayer*);
12 12
13 IOLayer* newSerialLayer(const Profile&); 13 IOLayer* newSerialLayer(const Profile&);
14 IOLayer* newBTLayer(const Profile& ); 14 IOLayer* newBTLayer(const Profile& );
15 IOLayer* newIrDaLayer(const Profile& ); 15 IOLayer* newIrDaLayer(const Profile& );
16 16
17 ProfileDialogWidget* newSerialWidget(const QString&, QWidget* ); 17 ProfileDialogWidget* newSerialWidget(const QString&, QWidget* );
18 ProfileDialogWidget* newIrDaWidget (const QString&, QWidget* ); 18 ProfileDialogWidget* newIrDaWidget (const QString&, QWidget* );
19 ProfileDialogWidget* newBTWidget (const QString&, QWidget* ); 19 ProfileDialogWidget* newBTWidget (const QString&, QWidget* );
20 20
21 ProfileDialogWidget* newTerminalWidget(const QString&, QWidget* ); 21 ProfileDialogWidget* newTerminalWidget(const QString&, QWidget* );
22 22
23 EmulationLayer* newVT102( Widget* ); 23 EmulationLayer* newVT102( WidgetLayer* );
24}; 24};
25 25
26class MetaFactory; 26class MetaFactory;
27struct Default { 27struct Default {
28public: 28public:
29 Default(MetaFactory* ); 29 Default(MetaFactory* );
30 ~Default(); 30 ~Default();
31}; 31};
32 32
33 33
34#endif 34#endif