author | benmeyer <benmeyer> | 2003-01-13 19:06:10 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2003-01-13 19:06:10 (UTC) |
commit | 4cd81644fb2ac8cd91e4dd79c2274656f5bfe81a (patch) (side-by-side diff) | |
tree | b6bf6c6dabb627d7a52691a25de50a701c088c7c /noncore/settings/networksettings | |
parent | 90706ff3edbf0c30856bb9786e69a6d3a0e0867a (diff) | |
download | opie-4cd81644fb2ac8cd91e4dd79c2274656f5bfe81a.zip opie-4cd81644fb2ac8cd91e4dd79c2274656f5bfe81a.tar.gz opie-4cd81644fb2ac8cd91e4dd79c2274656f5bfe81a.tar.bz2 |
test new header
Diffstat (limited to 'noncore/settings/networksettings') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/interfaces/interface.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/interfaces/interface.cpp b/noncore/settings/networksettings/interfaces/interface.cpp index d964961..3af521c 100644 --- a/noncore/settings/networksettings/interfaces/interface.cpp +++ b/noncore/settings/networksettings/interfaces/interface.cpp @@ -1,24 +1,30 @@ +/** + * $Author$ + * $Date$ + * $Name$ + */ + #include "interface.h" #include <qdatetime.h> #include <qfile.h> #include <qdir.h> #include <qfileinfo.h> #include <qtextstream.h> #define IFCONFIG "/sbin/ifconfig" #define DHCP_INFO_DIR "/etc/dhcpc" #include <stdio.h> #include <stdlib.h> 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"){ refresh(); } /** * Set status * @param newStatus - the new status * emit updateInterface */ void Interface::setStatus(bool newStatus){ if(status != newStatus){ |