diff options
Diffstat (limited to 'knetworkconf/knetworkconf/knetworkinterface.h')
-rw-r--r-- | knetworkconf/knetworkconf/knetworkinterface.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/knetworkconf/knetworkconf/knetworkinterface.h b/knetworkconf/knetworkconf/knetworkinterface.h index 859afc6..65ccfc0 100644 --- a/knetworkconf/knetworkconf/knetworkinterface.h +++ b/knetworkconf/knetworkconf/knetworkinterface.h @@ -18,7 +18,7 @@ #ifndef KNETWORKINTERFACE_H #define KNETWORKINTERFACE_H -#include <qstring.h> +#include <tqstring.h> /**This class has all the values associated with a network interface. *@author Juan Luis Baptiste @@ -29,55 +29,55 @@ class KNetworkInterface { KNetworkInterface(); ~KNetworkInterface(); - QString getBootProto(); - QString getBroadcast(); - QString getDeviceName(); - QString getIpAddress(); - QString getNetmask(); - QString getNetwork(); - QString getOnBoot(); - QString getGateway(); - void setBootProto(const QString &bootProto); - void setBroadcast(const QString &broadcast); - void setDeviceName(const QString &deviceName); - void setIpAddress(const QString &ipAddress); - void setNetmask(const QString &netmask); - void setNetwork(const QString &network); - void setOnBoot(const QString &onBoot); - void setGateway(const QString &gateway); + TQString getBootProto(); + TQString getBroadcast(); + TQString getDeviceName(); + TQString getIpAddress(); + TQString getNetmask(); + TQString getNetwork(); + TQString getOnBoot(); + TQString getGateway(); + void setBootProto(const TQString &bootProto); + void setBroadcast(const TQString &broadcast); + void setDeviceName(const TQString &deviceName); + void setIpAddress(const TQString &ipAddress); + void setNetmask(const TQString &netmask); + void setNetwork(const TQString &network); + void setOnBoot(const TQString &onBoot); + void setGateway(const TQString &gateway); bool isActive(); void setActive(bool active); - void setMacAddress(const QString &addr); - QString getMacAddress(); - void setDescription(const QString &desc); - QString getDescription(); - void setType(const QString &type); - QString getType(); + void setMacAddress(const TQString &addr); + TQString getMacAddress(); + void setDescription(const TQString &desc); + TQString getDescription(); + void setType(const TQString &type); + TQString getType(); private: // Private attributes /** Interface name (i.e. eth0, eth1, etc). */ - QString deviceName; + TQString deviceName; /** Boot protocol of the device (static, dhcp). */ - QString bootProto; + TQString bootProto; /** IPv4 address of the interface. */ - QString ipAddress; + TQString ipAddress; /** The Netmask. */ - QString netmask; + TQString netmask; /** The network. */ - QString network; + TQString network; /** The broadcast. */ - QString broadcast; + TQString broadcast; /** thetermines if this device is configured at boot time. */ - QString onBoot; + TQString onBoot; /** default gateway for this device. */ - QString gateway; + TQString gateway; bool active; /** The MAC address. */ - QString hwAddress; + TQString hwAddress; /** A little description about the network device. */ - QString description; + TQString description; /** Type of interface (ethernet,wireless,loopback or modem)*/ - QString type; + TQString type; }; #endif |