Changeset View
Changeset View
Standalone View
Standalone View
libs/handler.h
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | 119 | private Q_SLOTS: | |||
---|---|---|---|---|---|
120 | void initKdedModule(); | 120 | void initKdedModule(); | ||
121 | void secretAgentError(const QString &connectionPath, const QString &message); | 121 | void secretAgentError(const QString &connectionPath, const QString &message); | ||
122 | void replyFinished(QDBusPendingCallWatcher *watcher); | 122 | void replyFinished(QDBusPendingCallWatcher *watcher); | ||
123 | #if WITH_MODEMMANAGER_SUPPORT | 123 | #if WITH_MODEMMANAGER_SUPPORT | ||
124 | void unlockRequiredChanged(MMModemLock modemLock); | 124 | void unlockRequiredChanged(MMModemLock modemLock); | ||
125 | #endif | 125 | #endif | ||
126 | 126 | | |||
127 | Q_SIGNALS: | 127 | Q_SIGNALS: | ||
128 | void wirelessScanTimerEnabled(bool enable); | | |||
129 | void connectionActivationFailed(const QString &connectionPath, const QString &message); | 128 | void connectionActivationFailed(const QString &connectionPath, const QString &message); | ||
130 | private: | 129 | private: | ||
131 | bool m_tmpWirelessEnabled; | 130 | bool m_tmpWirelessEnabled; | ||
132 | bool m_tmpWwanEnabled; | 131 | bool m_tmpWwanEnabled; | ||
133 | #if WITH_MODEMMANAGER_SUPPORT | 132 | #if WITH_MODEMMANAGER_SUPPORT | ||
134 | QString m_tmpConnectionPath; | 133 | QString m_tmpConnectionPath; | ||
135 | #endif | 134 | #endif | ||
136 | QString m_tmpConnectionUuid; | 135 | QString m_tmpConnectionUuid; | ||
137 | QString m_tmpDevicePath; | 136 | QString m_tmpDevicePath; | ||
138 | QString m_tmpSpecificPath; | 137 | QString m_tmpSpecificPath; | ||
139 | QMap<QString, bool> m_bluetoothAdapters; | 138 | QMap<QString, bool> m_bluetoothAdapters; | ||
140 | QTimer m_wirelessScanRetryTimer; | 139 | QMap<QString, QTimer*> m_wirelessScanRetryTimer; | ||
141 | 140 | | |||
142 | void enableBluetooth(bool enable); | 141 | void enableBluetooth(bool enable); | ||
143 | void scanRequestFailed(const QString &interface); | 142 | void scanRequestFailed(const QString &interface); | ||
144 | 143 | bool checkRequestScanRateLimit(const NetworkManager::WirelessDevice::Ptr &wifiDevice); | |||
144 | void scheduleRequestScan(const QString &interface, int timeout); | ||||
145 | }; | 145 | }; | ||
146 | 146 | | |||
147 | #endif // PLASMA_NM_HANDLER_H | 147 | #endif // PLASMA_NM_HANDLER_H |