summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/nsdata.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/nsdata.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/nsdata.h13
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,7 +1,7 @@
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
6class NetworkSettingsData { 6class NetworkSettingsData {
7 7
@@ -15,23 +15,20 @@ public :
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
28private : 26private :
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