summaryrefslogtreecommitdiff
authortille <tille>2003-05-26 11:56:02 (UTC)
committer tille <tille>2003-05-26 11:56:02 (UTC)
commit60dae558c1b3df55ff08614fa170212cd9cd679d (patch) (unidiff)
tree01ef5e2a809985658151215bca25b66d77e29f24
parent71b76a1c9144b1d844774e1b8175e16f5c0a64dc (diff)
downloadopie-60dae558c1b3df55ff08614fa170212cd9cd679d.zip
opie-60dae558c1b3df55ff08614fa170212cd9cd679d.tar.gz
opie-60dae558c1b3df55ff08614fa170212cd9cd679d.tar.bz2
add setInterfaceName
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
@@ -4,32 +4,33 @@
4#include <qstring.h> 4#include <qstring.h>
5#include <qobject.h> 5#include <qobject.h>
6 6
7class Module; 7class Module;
8 8
9class Interface : public QObject{ 9class Interface : public QObject{
10 Q_OBJECT 10 Q_OBJECT
11 11
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; };
28 void setHardwareName(const QString &name="Unknown"); 29 void setHardwareName(const QString &name="Unknown");
29 30
30 Module* getModuleOwner() const { return moduleOwner; }; 31 Module* getModuleOwner() const { return moduleOwner; };
31 void setModuleOwner(Module *owner=NULL); 32 void setModuleOwner(Module *owner=NULL);
32 33
33 // inet information. 34 // inet information.
34 QString getMacAddress() const { return macAddress; }; 35 QString getMacAddress() const { return macAddress; };
35 QString getIp() const { return ip; }; 36 QString getIp() const { return ip; };