Changeset View
Changeset View
Standalone View
Standalone View
src/settings/gsmsetting.cpp
Show All 18 Lines | |||||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #include "gsmsetting.h" | 21 | #include "gsmsetting.h" | ||
22 | #include "gsmsetting_p.h" | 22 | #include "gsmsetting_p.h" | ||
23 | 23 | | |||
24 | #define NM_SETTING_GSM_NETWORK_TYPE "network-type" | 24 | #define NM_SETTING_GSM_NETWORK_TYPE "network-type" | ||
25 | #define NM_SETTING_GSM_ALLOWED_BANDS "allowed-bands" | 25 | #define NM_SETTING_GSM_ALLOWED_BANDS "allowed-bands" | ||
26 | 26 | | |||
27 | #if !NM_CHECK_VERSION(1, 2, 0) | | |||
28 | #define NM_SETTING_GSM_DEVICE_ID "device-id" | | |||
29 | #define NM_SETTING_GSM_SIM_ID "sim-id" | | |||
30 | #define NM_SETTING_GSM_SIM_OPERATOR_ID "sim-operator-id" | | |||
31 | #endif | | |||
32 | | ||||
33 | #include <QtCore/QDebug> | 27 | #include <QtCore/QDebug> | ||
34 | 28 | | |||
35 | NetworkManager::GsmSettingPrivate::GsmSettingPrivate() | 29 | NetworkManager::GsmSettingPrivate::GsmSettingPrivate() | ||
36 | : name(NM_SETTING_GSM_SETTING_NAME) | 30 | : name(NM_SETTING_GSM_SETTING_NAME) | ||
37 | , passwordFlags(NetworkManager::GsmSetting::None) | 31 | , passwordFlags(NetworkManager::GsmSetting::None) | ||
38 | , networkType(NetworkManager::GsmSetting::Any) | 32 | , networkType(NetworkManager::GsmSetting::Any) | ||
39 | , pinFlags(NetworkManager::GsmSetting::None) | 33 | , pinFlags(NetworkManager::GsmSetting::None) | ||
40 | , allowedBand(1) | 34 | , allowedBand(1) | ||
▲ Show 20 Lines • Show All 419 Lines • Show Last 20 Lines |