Diffstat (limited to 'noncore/apps/opie-console/metafactory.h') (more/less context) (show 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 @@ -14,10 +14,11 @@ #include "io_layer.h" #include "file_layer.h" #include "profile.h" +#include "profileeditorplugins.h" class MetaFactory { public: - typedef QWidget* (*configWidget)(QWidget* parent); + typedef ProfileEditorPlugin* (*configWidget)(QWidget* parent, const Profile&); typedef IOLayer* (*iolayer)(const Profile& ); typedef FileTransferLayer* (*filelayer)(IOLayer*); @@ -35,7 +36,7 @@ public: QStringList configWidgets()const; QStringList fileTransferLayers()const; IOLayer* newIOLayer( const QString&,const Profile& ); - QWidget *newConfigWidget ( const QString&, QWidget* ); + ProfileEditorPlugin *newConfigPlugin ( const QString&, QWidget*, const Profile& ); QString name( const QString& ); |