Changeset View
Changeset View
Standalone View
Standalone View
libs/models/networkmodelitem.h
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Line(s) | 35 | public: | |||
---|---|---|---|---|---|
106 | void setVpnState(NetworkManager::VpnConnection::State state); | 106 | void setVpnState(NetworkManager::VpnConnection::State state); | ||
107 | 107 | | |||
108 | QString vpnType() const; | 108 | QString vpnType() const; | ||
109 | void setVpnType(const QString &type); | 109 | void setVpnType(const QString &type); | ||
110 | 110 | | |||
111 | bool operator==(const NetworkModelItem *item) const; | 111 | bool operator==(const NetworkModelItem *item) const; | ||
112 | 112 | | |||
113 | public Q_SLOTS: | 113 | public Q_SLOTS: | ||
114 | void updateDetails(); | 114 | void invalidateDetails(); | ||
115 | 115 | | |||
116 | private: | 116 | private: | ||
117 | void updateDetails() const; | ||||
118 | | ||||
117 | QString m_activeConnectionPath; | 119 | QString m_activeConnectionPath; | ||
118 | QString m_connectionPath; | 120 | QString m_connectionPath; | ||
119 | NetworkManager::ActiveConnection::State m_connectionState; | 121 | NetworkManager::ActiveConnection::State m_connectionState; | ||
120 | QString m_devicePath; | 122 | QString m_devicePath; | ||
121 | QString m_deviceName; | 123 | QString m_deviceName; | ||
122 | NetworkManager::Device::State m_deviceState; | 124 | NetworkManager::Device::State m_deviceState; | ||
123 | QStringList m_details; | 125 | mutable QStringList m_details; | ||
126 | mutable bool m_detailsValid; | ||||
124 | bool m_duplicate; | 127 | bool m_duplicate; | ||
125 | NetworkManager::WirelessSetting::NetworkMode m_mode; | 128 | NetworkManager::WirelessSetting::NetworkMode m_mode; | ||
126 | QString m_name; | 129 | QString m_name; | ||
127 | NetworkManager::WirelessSecurityType m_securityType; | 130 | NetworkManager::WirelessSecurityType m_securityType; | ||
128 | int m_signal; | 131 | int m_signal; | ||
129 | bool m_slave; | 132 | bool m_slave; | ||
130 | QString m_specificPath; | 133 | QString m_specificPath; | ||
131 | QString m_ssid; | 134 | QString m_ssid; | ||
132 | QDateTime m_timestamp; | 135 | QDateTime m_timestamp; | ||
133 | NetworkManager::ConnectionSettings::ConnectionType m_type; | 136 | NetworkManager::ConnectionSettings::ConnectionType m_type; | ||
134 | QString m_uuid; | 137 | QString m_uuid; | ||
135 | QString m_vpnType; | 138 | QString m_vpnType; | ||
136 | NetworkManager::VpnConnection::State m_vpnState; | 139 | NetworkManager::VpnConnection::State m_vpnState; | ||
137 | }; | 140 | }; | ||
138 | 141 | | |||
139 | #endif // PLASMA_NM_MODEL_NETWORK_MODEL_ITEM_H | 142 | #endif // PLASMA_NM_MODEL_NETWORK_MODEL_ITEM_H |