summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/module.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings/module.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/module.h b/noncore/settings/networksettings/module.h
index 92b125a..2e6272b 100644
--- a/noncore/settings/networksettings/module.h
+++ b/noncore/settings/networksettings/module.h
@@ -22,7 +22,7 @@ public:
* neccesary changes also.
* @param newProfile what the profile should be changed to.
*/
- virtual void setProfile(QString newProfile) = 0;
+ virtual void setProfile(const QString &newProfile) = 0;
/**
* get the icon name for this device.
@@ -70,7 +70,7 @@ public:
* @return Interface* NULL if it was unable to be created.
* @param name the type of interface to create
*/
- virtual Interface *addNewInterface(QString name) = 0;
+ virtual Interface *addNewInterface(const QString &name) = 0;
/**
* Attempts to remove the interface, doesn't delete i