Diffstat (limited to 'noncore/settings/networksettings2/networksettings.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/networksettings.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/noncore/settings/networksettings2/networksettings.h b/noncore/settings/networksettings2/networksettings.h index 8ec5d08..987e311 100644 --- a/noncore/settings/networksettings2/networksettings.h +++ b/noncore/settings/networksettings2/networksettings.h | |||
@@ -8,4 +8,5 @@ class QTimer; | |||
8 | class QListBoxItem; | 8 | class QListBoxItem; |
9 | class QEvent; | 9 | class QEvent; |
10 | class OLedBox; | ||
10 | 11 | ||
11 | class NetworkSettings : public NetworkSettingsGUI { | 12 | class NetworkSettings : public NetworkSettingsGUI { |
@@ -18,14 +19,9 @@ public : | |||
18 | const char *name=0, | 19 | const char *name=0, |
19 | WFlags fl = 0 ); | 20 | WFlags fl = 0 ); |
20 | ~NetworkSettings( void ); | 21 | virtual ~NetworkSettings( void ); |
21 | 22 | ||
22 | static QString appName( void ) | 23 | static QString appName( void ) |
23 | { return QString::fromLatin1("networksettings"); } | 24 | { return QString::fromLatin1("networksettings"); } |
24 | 25 | ||
25 | bool isModified( void ) | ||
26 | { return NSD.isModified(); } | ||
27 | void setModified( bool m ) | ||
28 | { NSD.setModified( m ); } | ||
29 | |||
30 | public slots : | 26 | public slots : |
31 | 27 | ||
@@ -35,8 +31,9 @@ public slots : | |||
35 | void SLOT_EditNode( QListBoxItem * ); | 31 | void SLOT_EditNode( QListBoxItem * ); |
36 | void SLOT_CheckState( void ); | 32 | void SLOT_CheckState( void ); |
37 | void SLOT_Enable( void ); | 33 | |
38 | void SLOT_On( void ); | 34 | void SLOT_Up( void ); |
39 | void SLOT_Connect( void ); | 35 | void SLOT_Down( void ); |
40 | void SLOT_Disconnect( void ); | 36 | void SLOT_Disable( bool ); |
37 | |||
41 | void SLOT_GenerateConfig( void ); | 38 | void SLOT_GenerateConfig( void ); |
42 | void SLOT_RefreshStates( void ); | 39 | void SLOT_RefreshStates( void ); |
@@ -51,3 +48,12 @@ private : | |||
51 | QTimer * UpdateTimer; | 48 | QTimer * UpdateTimer; |
52 | NetworkSettingsData NSD; | 49 | NetworkSettingsData NSD; |
50 | /* | ||
51 | |||
52 | no leds : not present, unknown, unchecked or disabled | ||
53 | (1) down : hardware present but inactive | ||
54 | (2) available : hardware present and active | ||
55 | (3) up : present active and connected | ||
56 | |||
57 | */ | ||
58 | OLedBox * Leds[3]; | ||
53 | }; | 59 | }; |