author | benmeyer <benmeyer> | 2002-10-25 19:34:32 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-10-25 19:34:32 (UTC) |
commit | f16dd7fc272f3f8354dc696fcc881dfe74755a21 (patch) (unidiff) | |
tree | edaab125b322744d8684e6aee4d2c5955b68689b /noncore/net/networksetup/module.h | |
parent | 77347ba522a5913ff17561e6fd2c15981d42e86b (diff) | |
download | opie-f16dd7fc272f3f8354dc696fcc881dfe74755a21.zip opie-f16dd7fc272f3f8354dc696fcc881dfe74755a21.tar.gz opie-f16dd7fc272f3f8354dc696fcc881dfe74755a21.tar.bz2 |
Moved Interfaces into a library
Diffstat (limited to 'noncore/net/networksetup/module.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/networksetup/module.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/noncore/net/networksetup/module.h b/noncore/net/networksetup/module.h index 96db5b3..92b125a 100644 --- a/noncore/net/networksetup/module.h +++ b/noncore/net/networksetup/module.h | |||
@@ -30,38 +30,36 @@ public: | |||
30 | * @return QString the icon name (minus .png, .gif etc) | 30 | * @return QString the icon name (minus .png, .gif etc) |
31 | */ | 31 | */ |
32 | virtual QString getPixmapName(Interface *) = 0; | 32 | virtual QString getPixmapName(Interface *) = 0; |
33 | 33 | ||
34 | /** | 34 | /** |
35 | * Check to see if the interface i is owned by this module. | 35 | * Check to see if the interface i is owned by this module. |
36 | * @param Interface* interface to check against | 36 | * @param Interface* interface to check against |
37 | * @return bool true if i is owned by this module, false otherwise. | 37 | * @return bool true if i is owned by this module, false otherwise. |
38 | */ | 38 | */ |
39 | virtual bool isOwner(Interface *){ return false; }; | 39 | virtual bool isOwner(Interface *){ return false; }; |
40 | 40 | ||
41 | /** | 41 | /** |
42 | * Create, set tabWiget and return the WLANConfigure Module | 42 | * Create and return the WLANConfigure Module |
43 | * @param Interface *i the interface to configure. | 43 | * @param Interface *i the interface to configure. |
44 | * @param tabWidget a pointer to the tab widget that this configure has. | 44 | * @return QWidget* pointer to this modules configure. |
45 | * @return QWidget* pointer to the tab widget in this modules configure. | ||
46 | */ | 45 | */ |
47 | virtual QWidget *configure(Interface *, QTabWidget **){ return NULL; } ; | 46 | virtual QWidget *configure(Interface *){ return NULL; } ; |
48 | 47 | ||
49 | /** | 48 | /** |
50 | * Create, set tabWiget and return the Information Module | 49 | * Create, and return the Information Module |
51 | * @param Interface *i the interface to get info on. | 50 | * @param Interface *i the interface to get info on. |
52 | * @param tabWidget a pointer to the tab widget that this information has. | 51 | * @return QWidget* pointer to this modules info. |
53 | * @return QWidget* pointer to the tab widget in this modules info. | ||
54 | */ | 52 | */ |
55 | virtual QWidget *information(Interface *, QTabWidget **){ return NULL; }; | 53 | virtual QWidget *information(Interface *){ return NULL; }; |
56 | 54 | ||
57 | /** | 55 | /** |
58 | * Get all active (up or down) interfaces | 56 | * Get all active (up or down) interfaces |
59 | * @return QList<Interface> A list of interfaces that exsist that havn't | 57 | * @return QList<Interface> A list of interfaces that exsist that havn't |
60 | * been called by isOwner() | 58 | * been called by isOwner() |
61 | */ | 59 | */ |
62 | virtual QList<Interface> getInterfaces() = 0; | 60 | virtual QList<Interface> getInterfaces() = 0; |
63 | 61 | ||
64 | /** | 62 | /** |
65 | * Adds possible new interfaces to the list (Example: usb(ppp), ir(ppp), | 63 | * Adds possible new interfaces to the list (Example: usb(ppp), ir(ppp), |
66 | * modem ppp) | 64 | * modem ppp) |
67 | */ | 65 | */ |