Changeset View
Changeset View
Standalone View
Standalone View
src/activeconnection_p.h
Show All 28 Lines | |||||
29 | 29 | | |||
30 | class ActiveConnectionPrivate : public QObject | 30 | class ActiveConnectionPrivate : public QObject | ||
31 | { | 31 | { | ||
32 | Q_OBJECT | 32 | Q_OBJECT | ||
33 | public: | 33 | public: | ||
34 | explicit ActiveConnectionPrivate(const QString &, ActiveConnection *q); | 34 | explicit ActiveConnectionPrivate(const QString &, ActiveConnection *q); | ||
35 | virtual ~ActiveConnectionPrivate(); | 35 | virtual ~ActiveConnectionPrivate(); | ||
36 | static NetworkManager::ActiveConnection::State convertActiveConnectionState(uint); | 36 | static NetworkManager::ActiveConnection::State convertActiveConnectionState(uint); | ||
37 | static NetworkManager::ActiveConnection::StateChangeReason convertActiveConnectionStateReason(uint); | ||||
37 | NetworkManager::Connection::Ptr connection; | 38 | NetworkManager::Connection::Ptr connection; | ||
38 | QString path; | 39 | QString path; | ||
39 | bool default4; | 40 | bool default4; | ||
40 | bool default6; | 41 | bool default6; | ||
41 | QStringList devices; | 42 | QStringList devices; | ||
42 | OrgFreedesktopNetworkManagerConnectionActiveInterface iface; | 43 | OrgFreedesktopNetworkManagerConnectionActiveInterface iface; | ||
43 | mutable Dhcp4Config::Ptr dhcp4Config; | 44 | mutable Dhcp4Config::Ptr dhcp4Config; | ||
44 | QString dhcp4ConfigPath; | 45 | QString dhcp4ConfigPath; | ||
Show All 26 Lines | 68 | public: | |||
71 | */ | 72 | */ | ||
72 | virtual void propertyChanged(const QString &property, const QVariant &value); | 73 | virtual void propertyChanged(const QString &property, const QVariant &value); | ||
73 | 74 | | |||
74 | public Q_SLOTS: | 75 | public Q_SLOTS: | ||
75 | void propertiesChanged(const QVariantMap &properties); | 76 | void propertiesChanged(const QVariantMap &properties); | ||
76 | 77 | | |||
77 | private Q_SLOTS: | 78 | private Q_SLOTS: | ||
78 | void dbusPropertiesChanged(const QString &interfaceName, const QVariantMap &properties, const QStringList &invalidatedProperties); | 79 | void dbusPropertiesChanged(const QString &interfaceName, const QVariantMap &properties, const QStringList &invalidatedProperties); | ||
80 | void stateChanged(uint new_state, uint reason); | ||||
79 | }; | 81 | }; | ||
80 | 82 | | |||
81 | } | 83 | } | ||
82 | #endif | 84 | #endif |