summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/metafactory.cpp
authorzecke <zecke>2002-09-28 18:29:02 (UTC)
committer zecke <zecke>2002-09-28 18:29:02 (UTC)
commitbc88219d0a9cf935d90c88fe75e238e86c675937 (patch) (unidiff)
tree0121d1d3d881cf69948f3faf420a71d894dd6832 /noncore/apps/opie-console/metafactory.cpp
parent18d575d0ee47a0700091de81bc3e8c54be4eae18 (diff)
downloadopie-bc88219d0a9cf935d90c88fe75e238e86c675937.zip
opie-bc88219d0a9cf935d90c88fe75e238e86c675937.tar.gz
opie-bc88219d0a9cf935d90c88fe75e238e86c675937.tar.bz2
io_layer take Profile instead of Config
Profile added including some Config like stuff io_serial getBaud -> baud a default for gcc3 later tabdwidget will be our central widget profileconfig I needed groups() and clearAll that's pretty much it
Diffstat (limited to 'noncore/apps/opie-console/metafactory.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/metafactory.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/metafactory.cpp b/noncore/apps/opie-console/metafactory.cpp
index bef6ec7..754f34c 100644
--- a/noncore/apps/opie-console/metafactory.cpp
+++ b/noncore/apps/opie-console/metafactory.cpp
@@ -1,4 +1,4 @@
1 1#include <qpe/config.h>
2#include "metafactory.h" 2#include "metafactory.h"
3 3
4MetaFactory::MetaFactory() { 4MetaFactory::MetaFactory() {
@@ -42,3 +42,17 @@ QStringList MetaFactory::fileTransferLayers()const {
42 } 42 }
43 return list; 43 return list;
44} 44}
45IOLayer* MetaFactory::newIOLayer( const QString& str,const Profile& prof ) {
46 IOLayer* lay = 0l;
47
48 QMap<QString, iolayer>::Iterator it;
49 it = m_layerFact.find( str );
50 if ( it != m_layerFact.end() ) {
51 lay = (*(it.data()))(prof);
52 /*
53 iolayer laye = it.data();
54 lay = (*laye )(conf);*/
55 }
56
57 return lay;
58}