Diffstat (limited to 'noncore/net/networksetup/interfaces.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/interfaces.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/networksetup/interfaces.h b/noncore/net/networksetup/interfaces.h index 8b4788c..e617c17 100644 --- a/noncore/net/networksetup/interfaces.h +++ b/noncore/net/networksetup/interfaces.h | |||
@@ -34,25 +34,25 @@ public: | |||
34 | bool isInterfaceSet(); | 34 | bool isInterfaceSet(); |
35 | QString getInterfaceName(bool &error); | 35 | QString getInterfaceName(bool &error); |
36 | bool setInterfaceName(QString newName); | 36 | bool setInterfaceName(QString newName); |
37 | QString getInterfaceFamily(bool &error); | 37 | QString getInterfaceFamily(bool &error); |
38 | bool setInterfaceFamily(QString newName); | 38 | bool setInterfaceFamily(QString newName); |
39 | QString getInterfaceMethod(bool &error); | 39 | QString getInterfaceMethod(bool &error); |
40 | bool setInterfaceMethod(QString newName); | 40 | bool setInterfaceMethod(QString newName); |
41 | QString getInterfaceOption(QString option, bool &error); | 41 | QString getInterfaceOption(QString option, bool &error); |
42 | bool setInterfaceOption(QString option, QString value); | 42 | bool setInterfaceOption(QString option, QString value); |
43 | bool removeAllInterfaceOptions(); | 43 | bool removeAllInterfaceOptions(); |
44 | 44 | ||
45 | bool setMapping(QString interface); | 45 | bool setMapping(QString interface); |
46 | void addMapping(QString interfaces); | 46 | void addMapping(QString options); |
47 | bool setMap(QString map, QString value); | 47 | bool setMap(QString map, QString value); |
48 | QString getMap(QString map, bool &error); | 48 | QString getMap(QString map, bool &error); |
49 | bool setScript(QString); | 49 | bool setScript(QString); |
50 | QString getScript(bool &error); | 50 | QString getScript(bool &error); |
51 | 51 | ||
52 | bool write(); | 52 | bool write(); |
53 | 53 | ||
54 | private: | 54 | private: |
55 | bool setStanza(QString stanza, QString option,QStringList::Iterator &iterator); | 55 | bool setStanza(QString stanza, QString option,QStringList::Iterator &iterator); |
56 | bool setOption(QStringList::Iterator start, QString option, QString value); | 56 | bool setOption(QStringList::Iterator start, QString option, QString value); |
57 | QString getOption(QStringList::Iterator start, QString option, bool &error); | 57 | QString getOption(QStringList::Iterator start, QString option, bool &error); |
58 | bool removeAllOptions(QStringList::Iterator start); | 58 | bool removeAllOptions(QStringList::Iterator start); |