-rw-r--r-- | noncore/settings/networksettings/interfaces/interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/interfaces/interface.cpp b/noncore/settings/networksettings/interfaces/interface.cpp index 230dbe1..f0d93d6 100644 --- a/noncore/settings/networksettings/interfaces/interface.cpp +++ b/noncore/settings/networksettings/interfaces/interface.cpp | |||
@@ -1,29 +1,29 @@ | |||
1 | /** | 1 | /** |
2 | * $Author$ | 2 | * $Author$ |
3 | * $Date$ | 3 | * $Date$ |
4 | * $Id$ | 4 | * $Id$ |
5 | * $File$ | 5 | * $Name$ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include "interface.h" | 8 | #include "interface.h" |
9 | #include <qdatetime.h> | 9 | #include <qdatetime.h> |
10 | #include <qfile.h> | 10 | #include <qfile.h> |
11 | #include <qdir.h> | 11 | #include <qdir.h> |
12 | #include <qfileinfo.h> | 12 | #include <qfileinfo.h> |
13 | #include <qtextstream.h> | 13 | #include <qtextstream.h> |
14 | 14 | ||
15 | #define IFCONFIG "/sbin/ifconfig" | 15 | #define IFCONFIG "/sbin/ifconfig" |
16 | #define DHCP_INFO_DIR "/etc/dhcpc" | 16 | #define DHCP_INFO_DIR "/etc/dhcpc" |
17 | 17 | ||
18 | #include <stdio.h> | 18 | #include <stdio.h> |
19 | #include <stdlib.h> | 19 | #include <stdlib.h> |
20 | 20 | ||
21 | 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 | 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 | refresh(); | 22 | refresh(); |
23 | } | 23 | } |
24 | 24 | ||
25 | /** | 25 | /** |
26 | * Set status | 26 | * Set status |
27 | * @param newStatus - the new status | 27 | * @param newStatus - the new status |
28 | * emit updateInterface | 28 | * emit updateInterface |
29 | */ | 29 | */ |