summaryrefslogtreecommitdiff
path: root/noncore/net/networksetup/module.h
Side-by-side diff
Diffstat (limited to 'noncore/net/networksetup/module.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/module.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/noncore/net/networksetup/module.h b/noncore/net/networksetup/module.h
index 0c81928..a30f492 100644
--- a/noncore/net/networksetup/module.h
+++ b/noncore/net/networksetup/module.h
@@ -7,25 +7,32 @@
#include "interface.h"
class QWidget;
class QTabWidget;
class Module : QObject{
signals:
void updateInterface(Interface *i);
public:
Module(){};
-
+
+ /**
+ * The current profile has been changed and the module should do any
+ * neccesary changes also.
+ * @param newProfile what the profile should be changed to.
+ */
+ virtual void setProfile(QString newProfile) = 0;
+
/**
* get the icon name for this device.
* @param Interface* can be used in determining the icon.
* @return QString the icon name (minus .png, .gif etc)
*/
virtual QString getPixmapName(Interface* i) = 0;
/**
* Check to see if the interface i is owned by this module.
* @param Interface* interface to check against
* @return bool true if i is owned by this module, false otherwise.
*/