summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/interfaces/interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/interfaces/interface.h b/noncore/settings/networksettings/interfaces/interface.h
index d37834a..bb5de9d 100644
--- a/noncore/settings/networksettings/interfaces/interface.h
+++ b/noncore/settings/networksettings/interfaces/interface.h
@@ -12,16 +12,17 @@ class Interface : public QObject{
12signals: 12signals:
13 void updateInterface(Interface *i); 13 void updateInterface(Interface *i);
14 void updateMessage(const QString &message); 14 void updateMessage(const QString &message);
15 15
16public: 16public:
17 Interface(QObject * parent=0, const char * name= "unknown", bool status = false); 17 Interface(QObject * parent=0, const char * name= "unknown", bool status = false);
18 18
19 QString getInterfaceName() const { QString n(this->name()); return n; }; 19 QString getInterfaceName() const { QString n(this->name()); return n; };
20 void setInterfaceName( const QString &n ) { this->setName(n); };
20 21
21 bool getStatus() const { return status; }; 22 bool getStatus() const { return status; };
22 void setStatus(bool newStatus); 23 void setStatus(bool newStatus);
23 24
24 bool isAttached() const { return attached; }; 25 bool isAttached() const { return attached; };
25 void setAttached(bool isAttached=false); 26 void setAttached(bool isAttached=false);
26 27
27 QString getHardwareName() const { return hardwareName; }; 28 QString getHardwareName() const { return hardwareName; };