Diffstat (limited to 'noncore/applets/wirelessapplet/networkinfo.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/wirelessapplet/networkinfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/applets/wirelessapplet/networkinfo.h b/noncore/applets/wirelessapplet/networkinfo.h index c5eb743..7e50bc4 100644 --- a/noncore/applets/wirelessapplet/networkinfo.h +++ b/noncore/applets/wirelessapplet/networkinfo.h | |||
@@ -28,25 +28,25 @@ | |||
28 | // | 28 | // |
29 | 29 | ||
30 | class MNetworkInterface | 30 | class MNetworkInterface |
31 | { | 31 | { |
32 | public: | 32 | public: |
33 | 33 | ||
34 | MNetworkInterface( const char* name = "eth0" ); | 34 | MNetworkInterface( const char* name = "eth0" ); |
35 | virtual ~MNetworkInterface(); | 35 | virtual ~MNetworkInterface(); |
36 | 36 | ||
37 | bool isLoopback() { return isLoopbackInterface; }; | 37 | bool isLoopback() { return isLoopbackInterface; }; |
38 | const QString& getName() { return name; }; | 38 | const QString& getName() { return name; }; |
39 | 39 | ||
40 | virtual void updateStatistics(); | 40 | virtual bool updateStatistics(); |
41 | 41 | ||
42 | protected: | 42 | protected: |
43 | 43 | ||
44 | int fd; | 44 | int fd; |
45 | const QString name; | 45 | const QString name; |
46 | bool isLoopbackInterface; | 46 | bool isLoopbackInterface; |
47 | bool isIrda; | 47 | bool isIrda; |
48 | bool isTunnel; | 48 | bool isTunnel; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | //--------------------------------------------------------------------------- | 51 | //--------------------------------------------------------------------------- |
52 | // class MWirelessNetworkInterface | 52 | // class MWirelessNetworkInterface |
@@ -61,25 +61,25 @@ public: | |||
61 | int noisePercent(); | 61 | int noisePercent(); |
62 | int qualityPercent(); | 62 | int qualityPercent(); |
63 | int signalPercent(); | 63 | int signalPercent(); |
64 | 64 | ||
65 | QString APAddr; | 65 | QString APAddr; |
66 | QString essid; | 66 | QString essid; |
67 | QString mode; | 67 | QString mode; |
68 | QString nick; | 68 | QString nick; |
69 | QString rate; | 69 | QString rate; |
70 | double freq; | 70 | double freq; |
71 | int channel; | 71 | int channel; |
72 | 72 | ||
73 | virtual void updateStatistics(); | 73 | virtual bool updateStatistics(); |
74 | 74 | ||
75 | private: | 75 | private: |
76 | int quality; | 76 | int quality; |
77 | int signal; | 77 | int signal; |
78 | int noise; | 78 | int noise; |
79 | 79 | ||
80 | bool hasWirelessExtensions; | 80 | bool hasWirelessExtensions; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | //--------------------------------------------------------------------------- | 83 | //--------------------------------------------------------------------------- |
84 | // class MNetwork | 84 | // class MNetwork |
85 | // | 85 | // |