summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/interfaces/interface.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/settings/networksettings/interfaces/interface.h b/noncore/settings/networksettings/interfaces/interface.h
index bb5de9d..7e98deb 100644
--- a/noncore/settings/networksettings/interfaces/interface.h
+++ b/noncore/settings/networksettings/interfaces/interface.h
@@ -20,53 +20,53 @@ public:
20 void setInterfaceName( const QString &n ) { this->setName(n); }; 20 void setInterfaceName( const QString &n ) { this->setName(n); };
21 21
22 bool getStatus() const { return status; }; 22 bool getStatus() const { return status; };
23 void setStatus(bool newStatus); 23 void setStatus(bool newStatus);
24 24
25 bool isAttached() const { return attached; }; 25 bool isAttached() const { return attached; };
26 void setAttached(bool isAttached=false); 26 void setAttached(bool isAttached=false);
27 27
28 QString getHardwareName() const { return hardwareName; }; 28 QString getHardwareName() const { return hardwareName; };
29 void setHardwareName(const QString &name="Unknown"); 29 void setHardwareName(const QString &name="Unknown");
30 30
31 Module* getModuleOwner() const { return moduleOwner; }; 31 Module* getModuleOwner() const { return moduleOwner; };
32 void setModuleOwner(Module *owner=NULL); 32 void setModuleOwner(Module *owner=NULL);
33 33
34 // inet information. 34 // inet information.
35 QString getMacAddress() const { return macAddress; }; 35 QString getMacAddress() const { return macAddress; };
36 QString getIp() const { return ip; }; 36 QString getIp() const { return ip; };
37 QString getSubnetMask() const { return subnetMask; }; 37 QString getSubnetMask() const { return subnetMask; };
38 QString getBroadcast() const { return broadcast; }; 38 QString getBroadcast() const { return broadcast; };
39 bool isDhcp() const { return dhcp; }; 39 bool isDhcp() const { return dhcp; };
40 QString getDhcpServerIp() const { return dhcpServerIp; }; 40 QString getDhcpServerIp() const { return dhcpServerIp; };
41 QString getLeaseObtained() const { return leaseObtained; }; 41 QString getLeaseObtained() const { return leaseObtained; };
42 QString getLeaseExpires() const { return leaseExpires; }; 42 QString getLeaseExpires() const { return leaseExpires; };
43 43
44public slots: 44 public slots:
45 bool refresh(); 45 virtual bool refresh();
46 void start(); 46 virtual void start();
47 void stop(); 47 virtual void stop();
48 void restart(); 48 virtual void restart();
49 49
50private: 50private:
51 // Interface information 51 // Interface information
52 QString hardwareName; 52 QString hardwareName;
53 Module *moduleOwner; 53 Module *moduleOwner;
54 bool status; 54 bool status;
55 bool attached; 55 bool attached;
56 56
57 // Network information 57 // Network information
58 bool dhcp; 58 bool dhcp;
59 QString dhcpServerIp; 59 QString dhcpServerIp;
60 QString leaseObtained; 60 QString leaseObtained;
61 QString leaseExpires; 61 QString leaseExpires;
62 62
63 QString macAddress; 63 QString macAddress;
64 QString ip; 64 QString ip;
65 QString broadcast; 65 QString broadcast;
66 QString subnetMask; 66 QString subnetMask;
67 67
68}; 68};
69 69
70#endif 70#endif
71 71
72// interface.h 72// interface.h