Diffstat (limited to 'noncore/settings/networksettings/interfaces/interface.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/interfaces/interface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/interfaces/interface.cpp b/noncore/settings/networksettings/interfaces/interface.cpp index 3af521c..864d9b5 100644 --- a/noncore/settings/networksettings/interfaces/interface.cpp +++ b/noncore/settings/networksettings/interfaces/interface.cpp | |||
@@ -1,24 +1,26 @@ | |||
1 | $Header$ | ||
2 | |||
1 | /** | 3 | /** |
2 | * $Author$ | 4 | * $Author$ |
3 | * $Date$ | 5 | * $Date$ |
4 | * $Name$ | 6 | * $Name$ |
5 | */ | 7 | */ |
6 | 8 | ||
7 | #include "interface.h" | 9 | #include "interface.h" |
8 | #include <qdatetime.h> | 10 | #include <qdatetime.h> |
9 | #include <qfile.h> | 11 | #include <qfile.h> |
10 | #include <qdir.h> | 12 | #include <qdir.h> |
11 | #include <qfileinfo.h> | 13 | #include <qfileinfo.h> |
12 | #include <qtextstream.h> | 14 | #include <qtextstream.h> |
13 | 15 | ||
14 | #define IFCONFIG "/sbin/ifconfig" | 16 | #define IFCONFIG "/sbin/ifconfig" |
15 | #define DHCP_INFO_DIR "/etc/dhcpc" | 17 | #define DHCP_INFO_DIR "/etc/dhcpc" |
16 | 18 | ||
17 | #include <stdio.h> | 19 | #include <stdio.h> |
18 | #include <stdlib.h> | 20 | #include <stdlib.h> |
19 | 21 | ||
20 | Interface::Interface(QObject * parent, const char * name, bool newSatus): QObject(parent, name), hardwareName("Unknown"), moduleOwner(NULL), status(newSatus), attached(false), dhcp(false), macAddress(""), ip("0.0.0.0"), broadcast(""), subnetMask("0.0.0.0"){ | 22 | Interface::Interface(QObject * parent, const char * name, bool newSatus): QObject(parent, name), hardwareName("Unknown"), moduleOwner(NULL), status(newSatus), attached(false), dhcp(false), macAddress(""), ip("0.0.0.0"), broadcast(""), subnetMask("0.0.0.0"){ |
21 | refresh(); | 23 | refresh(); |
22 | } | 24 | } |
23 | 25 | ||
24 | /** | 26 | /** |