Diffstat (limited to 'noncore/settings/networksettings/module.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/module.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/module.h b/noncore/settings/networksettings/module.h index 0c81928..a30f492 100644 --- a/noncore/settings/networksettings/module.h +++ b/noncore/settings/networksettings/module.h | |||
@@ -13,13 +13,20 @@ class Module : QObject{ | |||
13 | 13 | ||
14 | signals: | 14 | signals: |
15 | void updateInterface(Interface *i); | 15 | void updateInterface(Interface *i); |
16 | 16 | ||
17 | public: | 17 | public: |
18 | Module(){}; | 18 | Module(){}; |
19 | 19 | ||
20 | /** | ||
21 | * The current profile has been changed and the module should do any | ||
22 | * neccesary changes also. | ||
23 | * @param newProfile what the profile should be changed to. | ||
24 | */ | ||
25 | virtual void setProfile(QString newProfile) = 0; | ||
26 | |||
20 | /** | 27 | /** |
21 | * get the icon name for this device. | 28 | * get the icon name for this device. |
22 | * @param Interface* can be used in determining the icon. | 29 | * @param Interface* can be used in determining the icon. |
23 | * @return QString the icon name (minus .png, .gif etc) | 30 | * @return QString the icon name (minus .png, .gif etc) |
24 | */ | 31 | */ |
25 | virtual QString getPixmapName(Interface* i) = 0; | 32 | virtual QString getPixmapName(Interface* i) = 0; |