summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profileeditorplugins.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/profileeditorplugins.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditorplugins.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/profileeditorplugins.h b/noncore/apps/opie-console/profileeditorplugins.h
index caec7ba..591163a 100644
--- a/noncore/apps/opie-console/profileeditorplugins.h
+++ b/noncore/apps/opie-console/profileeditorplugins.h
@@ -10,9 +10,9 @@ class QWidget;
class ProfileEditorPlugin : public QObject
{
Q_OBJECT
public:
- ProfileEditorPlugin(QWidget *parent, Profile p);
+ ProfileEditorPlugin(QWidget *parent, Profile *p);
virtual ~ProfileEditorPlugin();
virtual void save() = 0;
@@ -35,9 +35,9 @@ class ProfileEditorPlugin : public QObject
void slotTermOutbound(bool on);
protected:
QWidget *m_parent, *m_widget;
- Profile m_profile;
+ Profile *m_profile;
private:
enum ParityIds
{
@@ -84,11 +84,11 @@ class ProfileEditorPlugin : public QObject
//#ifdef __cplusplus
//extern "C" {
//#endif
-ProfileEditorPlugin *factory_serial(QWidget *parent, const Profile& p);
-ProfileEditorPlugin *factory_irda(QWidget *parent, const Profile& p);
-ProfileEditorPlugin *factory_modem(QWidget *parent, const Profile& p);
+ProfileEditorPlugin *factory_serial(QWidget *parent, Profile *p);
+ProfileEditorPlugin *factory_irda(QWidget *parent, Profile *p);
+ProfileEditorPlugin *factory_modem(QWidget *parent, Profile *p);
//#ifdef __cplusplus
//}
//#endif