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 @@ #include "file_layer.h" #include "profile.h" #include "profileeditorplugins.h" class MetaFactory { public: - typedef ProfileEditorPlugin* (*configWidget)(QWidget* parent, const Profile&); + typedef ProfileEditorPlugin* (*configWidget)(QWidget* parent, Profile* prof); typedef IOLayer* (*iolayer)(const Profile& ); typedef FileTransferLayer* (*filelayer)(IOLayer*); MetaFactory(); ~MetaFactory(); @@ -33,13 +33,13 @@ public: void addFileTransferLayer( const QString&, filelayer ); QStringList ioLayers()const; QStringList configWidgets()const; QStringList fileTransferLayers()const; IOLayer* newIOLayer( const QString&,const Profile& ); - ProfileEditorPlugin *newConfigPlugin ( const QString&, QWidget*, const Profile& ); + ProfileEditorPlugin *newConfigPlugin ( const QString&, QWidget*, Profile* ); QString name( const QString& ); private: QMap<QString, configWidget> m_confFact; QMap<QString, iolayer> m_layerFact; |