Diffstat (limited to 'noncore/settings/networksettings/module.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/module.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/module.h b/noncore/settings/networksettings/module.h index 2e6272b..46a3c77 100644 --- a/noncore/settings/networksettings/module.h +++ b/noncore/settings/networksettings/module.h | |||
@@ -1,29 +1,33 @@ | |||
1 | #ifndef NETCONF_MODULE_H | 1 | #ifndef NETCONF_MODULE_H |
2 | #define NETCONF_MODULE_H | 2 | #define NETCONF_MODULE_H |
3 | 3 | ||
4 | #include <qobject.h> | 4 | #include <qobject.h> |
5 | #if QT_VERSION < 300 | ||
5 | #include <qlist.h> | 6 | #include <qlist.h> |
7 | #else | ||
8 | #include <qptrlist.h> | ||
9 | #endif | ||
6 | #include <qmap.h> | 10 | #include <qmap.h> |
7 | #include "interface.h" | 11 | #include "interface.h" |
8 | 12 | ||
9 | class QWidget; | 13 | class QWidget; |
10 | class QTabWidget; | 14 | class QTabWidget; |
11 | 15 | ||
12 | class Module : QObject{ | 16 | class Module : QObject{ |
13 | 17 | ||
14 | signals: | 18 | signals: |
15 | void updateInterface(Interface *i); | 19 | void updateInterface(Interface *i); |
16 | 20 | ||
17 | public: | 21 | public: |
18 | Module(){}; | 22 | Module(){}; |
19 | 23 | ||
20 | /** | 24 | /** |
21 | * The current profile has been changed and the module should do any | 25 | * The current profile has been changed and the module should do any |
22 | * neccesary changes also. | 26 | * neccesary changes also. |
23 | * @param newProfile what the profile should be changed to. | 27 | * @param newProfile what the profile should be changed to. |
24 | */ | 28 | */ |
25 | virtual void setProfile(const QString &newProfile) = 0; | 29 | virtual void setProfile(const QString &newProfile) = 0; |
26 | 30 | ||
27 | /** | 31 | /** |
28 | * get the icon name for this device. | 32 | * get the icon name for this device. |
29 | * @param Interface* can be used in determining the icon. | 33 | * @param Interface* can be used in determining the icon. |