author | benmeyer <benmeyer> | 2002-09-30 14:26:33 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-09-30 14:26:33 (UTC) |
commit | 9965bd5c49ff2f22d640d132ac343fdec97b3fb4 (patch) (unidiff) | |
tree | 45e8f1d1bf414530b637692ba43b730110611856 /noncore/settings/networksettings/module.h | |
parent | 5db3af80f392f8f063f53cbbad67bbe7c5c6eb6d (diff) | |
download | opie-9965bd5c49ff2f22d640d132ac343fdec97b3fb4.zip opie-9965bd5c49ff2f22d640d132ac343fdec97b3fb4.tar.gz opie-9965bd5c49ff2f22d640d132ac343fdec97b3fb4.tar.bz2 |
Initial commit
Diffstat (limited to 'noncore/settings/networksettings/module.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/module.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/module.h b/noncore/settings/networksettings/module.h new file mode 100644 index 0000000..f146d8c --- a/dev/null +++ b/noncore/settings/networksettings/module.h | |||
@@ -0,0 +1,33 @@ | |||
1 | #ifndef MODULE_H | ||
2 | #define MODULE_H | ||
3 | |||
4 | #include <qobject.h> | ||
5 | #include <qlist.h> | ||
6 | #include <qmap.h> | ||
7 | #include "interface.h" | ||
8 | |||
9 | class QWidget; | ||
10 | |||
11 | class Module : QObject{ | ||
12 | |||
13 | signals: | ||
14 | void updateInterface(Interface *i); | ||
15 | |||
16 | public: | ||
17 | Module(){}; | ||
18 | |||
19 | virtual bool isOwner(Interface *){ return false; }; | ||
20 | virtual QWidget *configure(){ return NULL; } ; | ||
21 | virtual QWidget *information(){ return NULL; }; | ||
22 | virtual QList<Interface> getInterfaces() = 0; | ||
23 | virtual QMap<QString, QString> possibleNewInterfaces() = 0; | ||
24 | virtual Interface *addNewInterface(QString name) = 0; | ||
25 | virtual bool remove(Interface* i) = 0; | ||
26 | |||
27 | |||
28 | }; | ||
29 | |||
30 | #endif | ||
31 | |||
32 | // module.h | ||
33 | |||