author | benmeyer <benmeyer> | 2002-09-30 14:26:33 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-09-30 14:26:33 (UTC) |
commit | 9965bd5c49ff2f22d640d132ac343fdec97b3fb4 (patch) (side-by-side diff) | |
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) (show 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 @@ +#ifndef MODULE_H +#define MODULE_H + +#include <qobject.h> +#include <qlist.h> +#include <qmap.h> +#include "interface.h" + +class QWidget; + +class Module : QObject{ + +signals: + void updateInterface(Interface *i); + +public: + Module(){}; + + virtual bool isOwner(Interface *){ return false; }; + virtual QWidget *configure(){ return NULL; } ; + virtual QWidget *information(){ return NULL; }; + virtual QList<Interface> getInterfaces() = 0; + virtual QMap<QString, QString> possibleNewInterfaces() = 0; + virtual Interface *addNewInterface(QString name) = 0; + virtual bool remove(Interface* i) = 0; + + +}; + +#endif + +// module.h + |