Changeset View
Changeset View
Standalone View
Standalone View
libs/handler.h
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Line(s) | 52 | public Q_SLOTS: | |||
---|---|---|---|---|---|
95 | */ | 95 | */ | ||
96 | void removeConnection(const QString & connection); | 96 | void removeConnection(const QString & connection); | ||
97 | /** | 97 | /** | ||
98 | * Updates given connection | 98 | * Updates given connection | ||
99 | * @connection - connection which should be updated | 99 | * @connection - connection which should be updated | ||
100 | * @map - NMVariantMapMap with new connection settings | 100 | * @map - NMVariantMapMap with new connection settings | ||
101 | */ | 101 | */ | ||
102 | void updateConnection(const NetworkManager::Connection::Ptr &connection, const NMVariantMapMap &map); | 102 | void updateConnection(const NetworkManager::Connection::Ptr &connection, const NMVariantMapMap &map); | ||
103 | void requestScan(); | 103 | void requestScan(const QString &interface = QString()); | ||
104 | 104 | | |||
105 | private Q_SLOTS: | 105 | private Q_SLOTS: | ||
106 | void initKdedModule(); | 106 | void initKdedModule(); | ||
107 | void replyFinished(QDBusPendingCallWatcher *watcher); | 107 | void replyFinished(QDBusPendingCallWatcher *watcher); | ||
108 | #if WITH_MODEMMANAGER_SUPPORT | 108 | #if WITH_MODEMMANAGER_SUPPORT | ||
109 | void unlockRequiredChanged(MMModemLock modemLock); | 109 | void unlockRequiredChanged(MMModemLock modemLock); | ||
110 | #endif | 110 | #endif | ||
111 | 111 | | |||
112 | Q_SIGNALS: | ||||
113 | void wirelessScanTimerEnabled(bool enable); | ||||
112 | private: | 114 | private: | ||
113 | bool m_tmpWirelessEnabled; | 115 | bool m_tmpWirelessEnabled; | ||
114 | bool m_tmpWwanEnabled; | 116 | bool m_tmpWwanEnabled; | ||
115 | #if WITH_MODEMMANAGER_SUPPORT | 117 | #if WITH_MODEMMANAGER_SUPPORT | ||
116 | QString m_tmpConnectionPath; | 118 | QString m_tmpConnectionPath; | ||
117 | #endif | 119 | #endif | ||
118 | QString m_tmpConnectionUuid; | 120 | QString m_tmpConnectionUuid; | ||
119 | QString m_tmpDevicePath; | 121 | QString m_tmpDevicePath; | ||
120 | QString m_tmpSpecificPath; | 122 | QString m_tmpSpecificPath; | ||
121 | QMap<QString, bool> m_bluetoothAdapters; | 123 | QMap<QString, bool> m_bluetoothAdapters; | ||
124 | QTimer m_wirelessScanRetryTimer; | ||||
122 | 125 | | |||
123 | void enableBluetooth(bool enable); | 126 | void enableBluetooth(bool enable); | ||
127 | void scanRequestFailed(const QString &interface); | ||||
124 | 128 | | |||
125 | }; | 129 | }; | ||
126 | 130 | | |||
127 | #endif // PLASMA_NM_HANDLER_H | 131 | #endif // PLASMA_NM_HANDLER_H |