Diffstat (limited to 'noncore/settings/networksettings/interfaces/interface.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/interfaces/interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/interfaces/interface.h b/noncore/settings/networksettings/interfaces/interface.h index dc9c6d3..fc064fe 100644 --- a/noncore/settings/networksettings/interfaces/interface.h +++ b/noncore/settings/networksettings/interfaces/interface.h | |||
@@ -2,25 +2,26 @@ | |||
2 | #define INTERFACE_H | 2 | #define INTERFACE_H |
3 | 3 | ||
4 | #include <qstring.h> | 4 | #include <qstring.h> |
5 | #include <qobject.h> | 5 | #include <qobject.h> |
6 | 6 | ||
7 | class Module; | 7 | class Module; |
8 | 8 | ||
9 | class Interface : public QObject{ | 9 | class Interface : public QObject{ |
10 | Q_OBJECT | 10 | Q_OBJECT |
11 | 11 | ||
12 | signals: | 12 | signals: |
13 | void updateInterface(Interface *i); | 13 | void updateInterface(Interface *i); |
14 | 14 | void updateMessage(const QString &message); | |
15 | |||
15 | public: | 16 | public: |
16 | Interface(QObject * parent=0, const char * name= "unknown", bool status = false); | 17 | Interface(QObject * parent=0, const char * name= "unknown", bool status = false); |
17 | virtual ~Interface(){}; | 18 | virtual ~Interface(){}; |
18 | 19 | ||
19 | virtual QString getInterfaceName(){ QString n(this->name()); return n; }; | 20 | virtual QString getInterfaceName(){ QString n(this->name()); return n; }; |
20 | 21 | ||
21 | virtual bool getStatus(){ return status; }; | 22 | virtual bool getStatus(){ return status; }; |
22 | virtual void setStatus(bool newStatus); | 23 | virtual void setStatus(bool newStatus); |
23 | 24 | ||
24 | virtual bool isAttached(){ return attached; }; | 25 | virtual bool isAttached(){ return attached; }; |
25 | virtual void setAttached(bool isAttached=false); | 26 | virtual void setAttached(bool isAttached=false); |
26 | 27 | ||