author | benmeyer <benmeyer> | 2002-10-18 16:27:02 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-10-18 16:27:02 (UTC) |
commit | 12851a09a2761ca6e189f080e9ca69bf4974302f (patch) (unidiff) | |
tree | 1b9a368fc5e424d4bf60f4c582b87b23a975c26a /noncore/settings/networksettings/interfaces.h | |
parent | 47e60a8dc20f46dd00b9405f7fde122792018627 (diff) | |
download | opie-12851a09a2761ca6e189f080e9ca69bf4974302f.zip opie-12851a09a2761ca6e189f080e9ca69bf4974302f.tar.gz opie-12851a09a2761ca6e189f080e9ca69bf4974302f.tar.bz2 |
Can now remove mapping and is done so automagicly when you delete a profile
Diffstat (limited to 'noncore/settings/networksettings/interfaces.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/interfaces.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/interfaces.h b/noncore/settings/networksettings/interfaces.h index 7cf04f0..e09ea71 100644 --- a/noncore/settings/networksettings/interfaces.h +++ b/noncore/settings/networksettings/interfaces.h | |||
@@ -41,11 +41,14 @@ public: | |||
41 | bool setInterfaceMethod(QString newName); | 41 | bool setInterfaceMethod(QString newName); |
42 | QString getInterfaceOption(QString option, bool &error); | 42 | QString getInterfaceOption(QString option, bool &error); |
43 | bool setInterfaceOption(QString option, QString value); | 43 | bool setInterfaceOption(QString option, QString value); |
44 | bool removeInterfaceOption(QString option, QString value); | ||
44 | bool removeAllInterfaceOptions(); | 45 | bool removeAllInterfaceOptions(); |
45 | 46 | ||
46 | bool setMapping(QString interface); | 47 | bool setMapping(QString interface); |
48 | bool removeMapping(); | ||
47 | void addMapping(QString options); | 49 | void addMapping(QString options); |
48 | bool setMap(QString map, QString value); | 50 | bool setMap(QString map, QString value); |
51 | bool removeMap(QString map, QString value); | ||
49 | QString getMap(QString map, bool &error); | 52 | QString getMap(QString map, bool &error); |
50 | bool setScript(QString); | 53 | bool setScript(QString); |
51 | QString getScript(bool &error); | 54 | QString getScript(bool &error); |
@@ -55,6 +58,7 @@ public: | |||
55 | private: | 58 | private: |
56 | bool setStanza(QString stanza, QString option,QStringList::Iterator &iterator); | 59 | bool setStanza(QString stanza, QString option,QStringList::Iterator &iterator); |
57 | bool setOption(QStringList::Iterator start, QString option, QString value); | 60 | bool setOption(QStringList::Iterator start, QString option, QString value); |
61 | bool removeOption(QStringList::Iterator start, QString option, QString value); | ||
58 | QString getOption(QStringList::Iterator start, QString option, bool &error); | 62 | QString getOption(QStringList::Iterator start, QString option, bool &error); |
59 | bool removeAllOptions(QStringList::Iterator start); | 63 | bool removeAllOptions(QStringList::Iterator start); |
60 | 64 | ||