Changeset View
Changeset View
Standalone View
Standalone View
libs/models/networkmodelitem.h
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Line(s) | 35 | public: | |||
---|---|---|---|---|---|
103 | void setUuid(const QString &uuid); | 103 | void setUuid(const QString &uuid); | ||
104 | 104 | | |||
105 | QString vpnState() const; | 105 | QString vpnState() const; | ||
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 | qulonglong rxBytes() const; | ||||
112 | void setRxBytes(qulonglong bytes); | ||||
113 | | ||||
114 | qulonglong txBytes() const; | ||||
115 | void setTxBytes(qulonglong bytes); | ||||
116 | | ||||
111 | bool operator==(const NetworkModelItem *item) const; | 117 | bool operator==(const NetworkModelItem *item) const; | ||
112 | 118 | | |||
113 | public Q_SLOTS: | 119 | public Q_SLOTS: | ||
114 | void invalidateDetails(); | 120 | void invalidateDetails(); | ||
115 | 121 | | |||
116 | private: | 122 | private: | ||
117 | void updateDetails() const; | 123 | void updateDetails() const; | ||
118 | 124 | | |||
Show All 13 Lines | |||||
132 | bool m_slave; | 138 | bool m_slave; | ||
133 | QString m_specificPath; | 139 | QString m_specificPath; | ||
134 | QString m_ssid; | 140 | QString m_ssid; | ||
135 | QDateTime m_timestamp; | 141 | QDateTime m_timestamp; | ||
136 | NetworkManager::ConnectionSettings::ConnectionType m_type; | 142 | NetworkManager::ConnectionSettings::ConnectionType m_type; | ||
137 | QString m_uuid; | 143 | QString m_uuid; | ||
138 | QString m_vpnType; | 144 | QString m_vpnType; | ||
139 | NetworkManager::VpnConnection::State m_vpnState; | 145 | NetworkManager::VpnConnection::State m_vpnState; | ||
146 | qulonglong m_rxBytes; | ||||
147 | qulonglong m_txBytes; | ||||
140 | }; | 148 | }; | ||
141 | 149 | | |||
142 | #endif // PLASMA_NM_MODEL_NETWORK_MODEL_ITEM_H | 150 | #endif // PLASMA_NM_MODEL_NETWORK_MODEL_ITEM_H |