Changeset View
Changeset View
Standalone View
Standalone View
libs/handler.h
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 52 | public Q_SLOTS: | |||
---|---|---|---|---|---|
63 | * @specificParameter - d-bus path of the accesspoint you want to connect to | 63 | * @specificParameter - d-bus path of the accesspoint you want to connect to | ||
64 | * @password - pre-filled password which should be used for the new wireless connection | 64 | * @password - pre-filled password which should be used for the new wireless connection | ||
65 | * @autoConnect - boolean value whether this connection should be activated automatically when it's available | 65 | * @autoConnect - boolean value whether this connection should be activated automatically when it's available | ||
66 | * | 66 | * | ||
67 | * Works automatically for wireless connections with WEP/WPA security, for wireless connections with WPA/WPA | 67 | * Works automatically for wireless connections with WEP/WPA security, for wireless connections with WPA/WPA | ||
68 | * it will open the connection editor for advanced configuration. | 68 | * it will open the connection editor for advanced configuration. | ||
69 | * */ | 69 | * */ | ||
70 | void addAndActivateConnection(const QString &device, const QString &specificParameter, const QString &password = QString()); | 70 | void addAndActivateConnection(const QString &device, const QString &specificParameter, const QString &password = QString()); | ||
71 | | ||||
72 | QString wifiCode(const QString& connection, const QString& specificObject) const; | ||||
broulik: Docs, coding style. | |||||
73 | | ||||
71 | /** | 74 | /** | ||
72 | * Adds a new connection | 75 | * Adds a new connection | ||
73 | * @map - NMVariantMapMap with connection settings | 76 | * @map - NMVariantMapMap with connection settings | ||
74 | */ | 77 | */ | ||
75 | void addConnection(const NMVariantMapMap &map); | 78 | void addConnection(const NMVariantMapMap &map); | ||
76 | /** | 79 | /** | ||
77 | * Deactivates given connection | 80 | * Deactivates given connection | ||
78 | * @connection - d-bus path of the connection you want to deactivate | 81 | * @connection - d-bus path of the connection you want to deactivate | ||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |
Docs, coding style.