author | tille <tille> | 2003-05-30 15:11:15 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-30 15:11:15 (UTC) |
commit | cc06c984e13d5a452da3a5636cac77e001c80ad6 (patch) (side-by-side diff) | |
tree | ac1547eeb750c47affc419f0fb735c2d41404215 | |
parent | 8699d02f6c152afed9490e7e7a4315044261e6e8 (diff) | |
download | opie-cc06c984e13d5a452da3a5636cac77e001c80ad6.zip opie-cc06c984e13d5a452da3a5636cac77e001c80ad6.tar.gz opie-cc06c984e13d5a452da3a5636cac77e001c80ad6.tar.bz2 |
start, stop, restart and refresh are now virtual...
-rw-r--r-- | noncore/settings/networksettings/interfaces/interface.h | 10 |
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: void setInterfaceName( const QString &n ) { this->setName(n); }; bool getStatus() const { return status; }; void setStatus(bool newStatus); bool isAttached() const { return attached; }; void setAttached(bool isAttached=false); QString getHardwareName() const { return hardwareName; }; void setHardwareName(const QString &name="Unknown"); Module* getModuleOwner() const { return moduleOwner; }; void setModuleOwner(Module *owner=NULL); // inet information. QString getMacAddress() const { return macAddress; }; QString getIp() const { return ip; }; QString getSubnetMask() const { return subnetMask; }; QString getBroadcast() const { return broadcast; }; bool isDhcp() const { return dhcp; }; QString getDhcpServerIp() const { return dhcpServerIp; }; QString getLeaseObtained() const { return leaseObtained; }; QString getLeaseExpires() const { return leaseExpires; }; -public slots: - bool refresh(); - void start(); - void stop(); - void restart(); + public slots: + virtual bool refresh(); + virtual void start(); + virtual void stop(); + virtual void restart(); private: // Interface information QString hardwareName; Module *moduleOwner; bool status; bool attached; // Network information bool dhcp; QString dhcpServerIp; QString leaseObtained; QString leaseExpires; QString macAddress; QString ip; QString broadcast; QString subnetMask; }; #endif // interface.h |