Diffstat (limited to 'noncore/apps/opie-console/metafactory.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/metafactory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/metafactory.h b/noncore/apps/opie-console/metafactory.h index 8c714b3..216de03 100644 --- a/noncore/apps/opie-console/metafactory.h +++ b/noncore/apps/opie-console/metafactory.h | |||
@@ -15,13 +15,13 @@ | |||
15 | #include "file_layer.h" | 15 | #include "file_layer.h" |
16 | #include "profile.h" | 16 | #include "profile.h" |
17 | #include "profileeditorplugins.h" | 17 | #include "profileeditorplugins.h" |
18 | 18 | ||
19 | class MetaFactory { | 19 | class MetaFactory { |
20 | public: | 20 | public: |
21 | typedef ProfileEditorPlugin* (*configWidget)(QWidget* parent, const Profile&); | 21 | typedef ProfileEditorPlugin* (*configWidget)(QWidget* parent, Profile* prof); |
22 | typedef IOLayer* (*iolayer)(const Profile& ); | 22 | typedef IOLayer* (*iolayer)(const Profile& ); |
23 | typedef FileTransferLayer* (*filelayer)(IOLayer*); | 23 | typedef FileTransferLayer* (*filelayer)(IOLayer*); |
24 | 24 | ||
25 | MetaFactory(); | 25 | MetaFactory(); |
26 | ~MetaFactory(); | 26 | ~MetaFactory(); |
27 | 27 | ||
@@ -33,13 +33,13 @@ public: | |||
33 | void addFileTransferLayer( const QString&, | 33 | void addFileTransferLayer( const QString&, |
34 | filelayer ); | 34 | filelayer ); |
35 | QStringList ioLayers()const; | 35 | QStringList ioLayers()const; |
36 | QStringList configWidgets()const; | 36 | QStringList configWidgets()const; |
37 | QStringList fileTransferLayers()const; | 37 | QStringList fileTransferLayers()const; |
38 | IOLayer* newIOLayer( const QString&,const Profile& ); | 38 | IOLayer* newIOLayer( const QString&,const Profile& ); |
39 | ProfileEditorPlugin *newConfigPlugin ( const QString&, QWidget*, const Profile& ); | 39 | ProfileEditorPlugin *newConfigPlugin ( const QString&, QWidget*, Profile* ); |
40 | 40 | ||
41 | QString name( const QString& ); | 41 | QString name( const QString& ); |
42 | 42 | ||
43 | private: | 43 | private: |
44 | QMap<QString, configWidget> m_confFact; | 44 | QMap<QString, configWidget> m_confFact; |
45 | QMap<QString, iolayer> m_layerFact; | 45 | QMap<QString, iolayer> m_layerFact; |