Diffstat (limited to 'noncore/apps/opie-console/metafactory.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/metafactory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/metafactory.h b/noncore/apps/opie-console/metafactory.h index 2245231..8c714b3 100644 --- a/noncore/apps/opie-console/metafactory.h +++ b/noncore/apps/opie-console/metafactory.h | |||
@@ -13,12 +13,13 @@ | |||
13 | 13 | ||
14 | #include "io_layer.h" | 14 | #include "io_layer.h" |
15 | #include "file_layer.h" | 15 | #include "file_layer.h" |
16 | #include "profile.h" | 16 | #include "profile.h" |
17 | #include "profileeditorplugins.h" | ||
17 | 18 | ||
18 | class MetaFactory { | 19 | class MetaFactory { |
19 | public: | 20 | public: |
20 | typedef QWidget* (*configWidget)(QWidget* parent); | 21 | typedef ProfileEditorPlugin* (*configWidget)(QWidget* parent, const Profile&); |
21 | typedef IOLayer* (*iolayer)(const Profile& ); | 22 | typedef IOLayer* (*iolayer)(const Profile& ); |
22 | typedef FileTransferLayer* (*filelayer)(IOLayer*); | 23 | typedef FileTransferLayer* (*filelayer)(IOLayer*); |
23 | 24 | ||
24 | MetaFactory(); | 25 | MetaFactory(); |
@@ -34,9 +35,9 @@ public: | |||
34 | QStringList ioLayers()const; | 35 | QStringList ioLayers()const; |
35 | QStringList configWidgets()const; | 36 | QStringList configWidgets()const; |
36 | QStringList fileTransferLayers()const; | 37 | QStringList fileTransferLayers()const; |
37 | IOLayer* newIOLayer( const QString&,const Profile& ); | 38 | IOLayer* newIOLayer( const QString&,const Profile& ); |
38 | QWidget *newConfigWidget ( const QString&, QWidget* ); | 39 | ProfileEditorPlugin *newConfigPlugin ( const QString&, QWidget*, const Profile& ); |
39 | 40 | ||
40 | QString name( const QString& ); | 41 | QString name( const QString& ); |
41 | 42 | ||
42 | private: | 43 | private: |