Diffstat (limited to 'noncore/settings/networksettings2/networksettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/networksettings.h | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/noncore/settings/networksettings2/networksettings.h b/noncore/settings/networksettings2/networksettings.h index eb475a3..fadf81b 100644 --- a/noncore/settings/networksettings2/networksettings.h +++ b/noncore/settings/networksettings2/networksettings.h | |||
@@ -1,3 +1,4 @@ | |||
1 | #include "nsdata.h" | ||
1 | #include "networksettingsGUI.h" | 2 | #include "networksettingsGUI.h" |
2 | #include "resources.h" | 3 | #include "resources.h" |
3 | 4 | ||
@@ -6,33 +7,6 @@ class ANetNodeInstance; | |||
6 | class QTimer; | 7 | class QTimer; |
7 | class QIconViewItem; | 8 | class QIconViewItem; |
8 | 9 | ||
9 | class NetworkSettingsData { | ||
10 | |||
11 | public : | ||
12 | |||
13 | NetworkSettingsData( void ); | ||
14 | ~NetworkSettingsData( void ); | ||
15 | |||
16 | void loadSettings( void ); | ||
17 | QString saveSettings( void ); | ||
18 | |||
19 | QString generateSettings( bool Force = FALSE ); | ||
20 | |||
21 | bool isModified( void ) | ||
22 | { return IsModified; } | ||
23 | void setModified( bool m ) | ||
24 | { IsModified = m; } | ||
25 | |||
26 | void forceGeneration( bool m ) | ||
27 | { Force = m; } | ||
28 | |||
29 | private : | ||
30 | |||
31 | bool IsModified; | ||
32 | bool Force; | ||
33 | |||
34 | }; | ||
35 | |||
36 | class NetworkSettings : public NetworkSettingsGUI { | 10 | class NetworkSettings : public NetworkSettingsGUI { |
37 | 11 | ||
38 | Q_OBJECT | 12 | Q_OBJECT |
@@ -47,9 +21,6 @@ public : | |||
47 | static QString appName( void ) | 21 | static QString appName( void ) |
48 | { return QString::fromLatin1("networksettings"); } | 22 | { return QString::fromLatin1("networksettings"); } |
49 | 23 | ||
50 | static void canStart( const char * Interface ); | ||
51 | static bool regenerate( void ); | ||
52 | |||
53 | bool isModified( void ) | 24 | bool isModified( void ) |
54 | { return NSD.isModified(); } | 25 | { return NSD.isModified(); } |
55 | void setModified( bool m ) | 26 | void setModified( bool m ) |
@@ -67,6 +38,7 @@ public slots : | |||
67 | void SLOT_Connect( void ); | 38 | void SLOT_Connect( void ); |
68 | void SLOT_GenerateConfig( void ); | 39 | void SLOT_GenerateConfig( void ); |
69 | void SLOT_RefreshStates( void ); | 40 | void SLOT_RefreshStates( void ); |
41 | void SLOT_QCopMessage( const QCString&,const QByteArray& ); | ||
70 | 42 | ||
71 | private : | 43 | private : |
72 | 44 | ||