Diffstat (limited to 'noncore/settings/networksettings2/networksettings2/resources.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/networksettings2/resources.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/resources.h b/noncore/settings/networksettings2/networksettings2/resources.h index 51c4250..f7393d3 100644 --- a/noncore/settings/networksettings2/networksettings2/resources.h +++ b/noncore/settings/networksettings2/networksettings2/resources.h | |||
@@ -40,7 +40,7 @@ public : | |||
40 | 40 | ||
41 | typedef QDict<ANetNode> Name2NetNode_t; | 41 | typedef QDict<ANetNode> Name2NetNode_t; |
42 | typedef QDict<ANetNodeInstance > Name2Instance_t; | 42 | typedef QDict<ANetNodeInstance > Name2Instance_t; |
43 | typedef QDict<NodeCollection> Name2Connection_t; | 43 | typedef QDict<NetworkSetup> Name2NetworkSetup_t; |
44 | typedef QDict<SystemFile> Name2SystemFile_t; | 44 | typedef QDict<SystemFile> Name2SystemFile_t; |
45 | 45 | ||
46 | class TheNSResources { | 46 | class TheNSResources { |
@@ -56,7 +56,7 @@ public : | |||
56 | System & system() | 56 | System & system() |
57 | { return *TheSystem; } | 57 | { return *TheSystem; } |
58 | 58 | ||
59 | int assignConnectionNumber(void); | 59 | int assignNetworkSetupNumber(void); |
60 | QPixmap getPixmap( const QString & Name ); | 60 | QPixmap getPixmap( const QString & Name ); |
61 | 61 | ||
62 | Name2NetNode_t & netNodes( void ) | 62 | Name2NetNode_t & netNodes( void ) |
@@ -103,14 +103,14 @@ public : | |||
103 | const QString & netNode2Name( const char * Type ); | 103 | const QString & netNode2Name( const char * Type ); |
104 | const QString & netNode2Description( const char * Type ); | 104 | const QString & netNode2Description( const char * Type ); |
105 | 105 | ||
106 | void addConnection( NodeCollection * NC, bool Dangling ); | 106 | void addNetworkSetup( NetworkSetup * NC, bool Dangling ); |
107 | void removeConnection( const QString & N ); | 107 | void removeNetworkSetup( const QString & N ); |
108 | NodeCollection * findConnection( const QString & N ); | 108 | NetworkSetup * findNetworkSetup( const QString & N ); |
109 | NodeCollection * getConnection( int nr ); | 109 | NetworkSetup * getNetworkSetup( int nr ); |
110 | Name2Connection_t & connections( void ) | 110 | Name2NetworkSetup_t & networkSetups( void ) |
111 | { return ConnectionsMap; } | 111 | { return NetworkSetupsMap; } |
112 | Name2Connection_t & danglingConnections( void ) | 112 | Name2NetworkSetup_t & danglingNetworkSetups( void ) |
113 | { return DanglingConnectionsMap; } | 113 | { return DanglingNetworkSetupsMap; } |
114 | 114 | ||
115 | inline bool userKnown( void ) | 115 | inline bool userKnown( void ) |
116 | { return CurrentUser.known(); } | 116 | { return CurrentUser.known(); } |
@@ -126,11 +126,11 @@ private : | |||
126 | 126 | ||
127 | QMap< QString, QString> NodeTypeNameMap; | 127 | QMap< QString, QString> NodeTypeNameMap; |
128 | QMap< QString, QString> NodeTypeDescriptionMap; | 128 | QMap< QString, QString> NodeTypeDescriptionMap; |
129 | // list of connections that are valid | 129 | // list of networkSetups that are valid |
130 | Name2Connection_t ConnectionsMap; | 130 | Name2NetworkSetup_t NetworkSetupsMap; |
131 | // list of connection configurations that are not valid | 131 | // list of networkSetup configurations that are not valid |
132 | // e.g. because plugins are missing | 132 | // e.g. because plugins are missing |
133 | Name2Connection_t DanglingConnectionsMap; | 133 | Name2NetworkSetup_t DanglingNetworkSetupsMap; |
134 | System * TheSystem; | 134 | System * TheSystem; |
135 | Name2SystemFile_t SystemFiles; | 135 | Name2SystemFile_t SystemFiles; |
136 | 136 | ||