Diffstat (limited to 'noncore/net/networksetup/module.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/module.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/networksetup/module.h b/noncore/net/networksetup/module.h index 92b125a..2e6272b 100644 --- a/noncore/net/networksetup/module.h +++ b/noncore/net/networksetup/module.h | |||
@@ -22,7 +22,7 @@ public: | |||
22 | * neccesary changes also. | 22 | * neccesary changes also. |
23 | * @param newProfile what the profile should be changed to. | 23 | * @param newProfile what the profile should be changed to. |
24 | */ | 24 | */ |
25 | virtual void setProfile(QString newProfile) = 0; | 25 | virtual void setProfile(const QString &newProfile) = 0; |
26 | 26 | ||
27 | /** | 27 | /** |
28 | * get the icon name for this device. | 28 | * get the icon name for this device. |
@@ -70,7 +70,7 @@ public: | |||
70 | * @return Interface* NULL if it was unable to be created. | 70 | * @return Interface* NULL if it was unable to be created. |
71 | * @param name the type of interface to create | 71 | * @param name the type of interface to create |
72 | */ | 72 | */ |
73 | virtual Interface *addNewInterface(QString name) = 0; | 73 | virtual Interface *addNewInterface(const QString &name) = 0; |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * Attempts to remove the interface, doesn't delete i | 76 | * Attempts to remove the interface, doesn't delete i |