equal
deleted
inserted
replaced
35 class PSUINOTES_EXPORT PsUiUtils : public QObject |
35 class PSUINOTES_EXPORT PsUiUtils : public QObject |
36 { |
36 { |
37 Q_OBJECT |
37 Q_OBJECT |
38 |
38 |
39 public: |
39 public: |
40 enum BasicServiceGroups |
40 enum BasicServiceGroups { |
41 { |
|
42 Unknown = -1, //this is not part of GSM standard |
41 Unknown = -1, //this is not part of GSM standard |
43 // Phone settings updates this automatically to ETelephony or to EAltTele, |
42 // Phone settings updates this automatically to ETelephony or to EAltTele, |
44 // depending on if ALS is supported, and which line is active. |
43 // depending on if ALS is supported, and which line is active. |
45 AllTeleAndBearer = 0, |
44 AllTeleAndBearer = 0, |
46 AllTele = 10, |
45 AllTele = 10, |
94 |
93 |
95 AltTele = 89 |
94 AltTele = 89 |
96 // no ui note support |
95 // no ui note support |
97 }; |
96 }; |
98 |
97 |
|
98 // Service status of the Phone ID services (CLIP/CLIR/CNIP). |
|
99 enum PhoneIdServiceStatus { |
|
100 ServiceActivePermanent, |
|
101 ServiceActiveDefaultRestricted, |
|
102 ServiceActiveDefaultAllowed, |
|
103 ServiceNotProvisioned, |
|
104 ServiceUnknown |
|
105 }; |
|
106 |
99 public: |
107 public: |
100 /*! |
108 /*! |
101 Error code text conversion |
109 Error code text conversion |
102 */ |
110 */ |
103 static bool errorCodeTextMapping(const int errorcode, QString &errorText); |
111 static bool errorCodeTextMapping(const int errorcode, QString &errorText); |
119 /*! |
127 /*! |
120 Call waiting distiquish not provisioned support |
128 Call waiting distiquish not provisioned support |
121 */ |
129 */ |
122 bool isFeatureCallWaitingDistiquishNotProvisionedEnabled(); |
130 bool isFeatureCallWaitingDistiquishNotProvisionedEnabled(); |
123 |
131 |
124 /*! |
|
125 Checks if phone is in offline mode or not. |
|
126 Return true if phone is in offline mode. |
|
127 Return false if phone is not in offline mode. |
|
128 */ |
|
129 bool isPhoneOffline() const; |
|
130 |
132 |
131 /*! |
133 /*! |
132 Number grouping support |
134 Number grouping support |
133 */ |
135 */ |
134 bool numberGroupingSupported() const; |
136 bool numberGroupingSupported() const; |