Diffstat (limited to 'noncore/settings/networksettings2/nsdata.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/nsdata.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/noncore/settings/networksettings2/nsdata.h b/noncore/settings/networksettings2/nsdata.h index 507185e..a0ae7d1 100644 --- a/noncore/settings/networksettings2/nsdata.h +++ b/noncore/settings/networksettings2/nsdata.h | |||
@@ -1,10 +1,10 @@ | |||
1 | #ifndef __NSDATA_H | 1 | #ifndef __NSDATA_H |
2 | #define __NSDATA_H | 2 | #define __NSDATA_H |
3 | 3 | ||
4 | #include "netnode.h" | 4 | #include <netnode.h> |
5 | 5 | ||
6 | class NetworkSettingsData { | 6 | class NetworkSettingsData { |
7 | 7 | ||
8 | public : | 8 | public : |
9 | 9 | ||
10 | NetworkSettingsData( void ); | 10 | NetworkSettingsData( void ); |
@@ -12,26 +12,23 @@ public : | |||
12 | 12 | ||
13 | void loadSettings( void ); | 13 | void loadSettings( void ); |
14 | QString saveSettings( void ); | 14 | QString saveSettings( void ); |
15 | 15 | ||
16 | QString generateSettings( void ); | 16 | QString generateSettings( void ); |
17 | 17 | ||
18 | bool isModified( void ) | 18 | bool isModified( void ); |
19 | { return IsModified; } | 19 | inline void setModified( bool M ) |
20 | void setModified( bool m ) | 20 | { ForceModified = M; } |
21 | { IsModified = m; } | ||
22 | 21 | ||
23 | QList<NodeCollection> collectPossible( const char * Interface ); | 22 | QList<NodeCollection> collectPossible( const char * Interface ); |
24 | // return TRUE if we need gui to decide | 23 | // return TRUE if we need gui to decide |
25 | bool canStart( const char * Interface ); | 24 | bool canStart( const char * Interface ); |
26 | bool regenerate( void ); | ||
27 | 25 | ||
28 | private : | 26 | private : |
29 | 27 | ||
30 | bool IsModified; | 28 | bool ForceModified; |
31 | 29 | ||
32 | // collect strings in config file nobody wants | 30 | // collect strings in config file nobody wants |
33 | QStringList LeftOvers; | 31 | QStringList LeftOvers; |
34 | |||
35 | }; | 32 | }; |
36 | 33 | ||
37 | #endif | 34 | #endif |