summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/interfaces/interface.h7
-rw-r--r--noncore/settings/networksettings/module.h12
2 files changed, 19 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/interfaces/interface.h b/noncore/settings/networksettings/interfaces/interface.h
index ec82851..83ab088 100644
--- a/noncore/settings/networksettings/interfaces/interface.h
+++ b/noncore/settings/networksettings/interfaces/interface.h
@@ -7,4 +7,11 @@
7class Module; 7class Module;
8 8
9/**
10 * A Interface represents a physical device. You can
11 * inherit it and create also virtual devices. Like saved
12 * ppp dial ups or vpn. Interface is used for representing
13 * your interface to the User and its actions.
14 *
15 */
9class Interface : public QObject{ 16class Interface : public QObject{
10 Q_OBJECT 17 Q_OBJECT
diff --git a/noncore/settings/networksettings/module.h b/noncore/settings/networksettings/module.h
index 3ef823c..9dc913e 100644
--- a/noncore/settings/networksettings/module.h
+++ b/noncore/settings/networksettings/module.h
@@ -87,6 +87,14 @@ public:
87 * See if you can handle it. And if you can claim ownership 87 * See if you can handle it. And if you can claim ownership
88 * by returning true. 88 * by returning true.
89 * For physical devices you will be asked if you want to own the
90 * device. But you can also create new \sa Interface Implementations.
91 *
92 * If you want to own the Interface add it to your internal interface
93 * list
94 *
89 * @param Interface* interface to check against 95 * @param Interface* interface to check against
90 * @return bool true if i is owned by this module, false otherwise. 96 * @return bool true if i is owned by this module, false otherwise.
97 *
98 * @see getInterfaces
91 */ 99 */
92 virtual bool isOwner(Interface *){ return false; }; 100 virtual bool isOwner(Interface *){ return false; };
@@ -117,4 +125,8 @@ public:
117 * Get all active (up or down) interfaces managed by this 125 * Get all active (up or down) interfaces managed by this
118 * module. 126 * module.
127 * At the end of initialisation you will be asked to return your interfaces
128 * Return all of your interfaces even the ones you claimed by isOnwer.
129 * Here you can also return your 'virtual' Interface Objects
130 *
119 * @return QList<Interface> A list of interfaces that exsist that havn't 131 * @return QList<Interface> A list of interfaces that exsist that havn't
120 * been called by isOwner() 132 * been called by isOwner()