150 \value UndefinedStatus There is no network device, or error. |
150 \value UndefinedStatus There is no network device, or error. |
151 \value NoNetworkAvailable There is no network available. |
151 \value NoNetworkAvailable There is no network available. |
152 \value EmergencyOnly Emergency calls only. |
152 \value EmergencyOnly Emergency calls only. |
153 \value Searching Searching for or connecting with the network. |
153 \value Searching Searching for or connecting with the network. |
154 \value Busy Network is busy. |
154 \value Busy Network is busy. |
155 \value Connected Connected to newtwork. |
155 \value Connected Connected to network. |
156 \value HomeNetwork On Home Network. |
156 \value HomeNetwork On Home Network. |
157 \value Denied Network access denied. |
157 \value Denied Network access denied. |
158 \value Roaming On Roaming network. |
158 \value Roaming On Roaming network. |
159 |
159 |
160 */ |
160 */ |
493 } |
493 } |
494 |
494 |
495 /*! |
495 /*! |
496 \property QSystemNetworkInfo::cellId |
496 \property QSystemNetworkInfo::cellId |
497 \brief The devices Cell ID |
497 \brief The devices Cell ID |
498 Returns the Cell ID of the connected tower or based station. |
498 Returns the Cell ID of the connected tower or based station, or 0 if not connected. |
499 */ |
499 */ |
500 int QSystemNetworkInfo::cellId() |
500 int QSystemNetworkInfo::cellId() |
501 { |
501 { |
502 return netInfoPrivate()->cellId(); |
502 return netInfoPrivate()->cellId(); |
503 } |
503 } |
504 |
504 |
505 /*! |
505 /*! |
506 \property QSystemNetworkInfo::locationAreaCode |
506 \property QSystemNetworkInfo::locationAreaCode |
507 \brief The LAC. |
507 \brief The LAC. |
508 |
508 |
509 Returns the Location Area Code. In the case of none such as a Desktop, an empty string. |
509 Returns the Location Area Code. In the case of a Desktop computer, 0 is returned. |
510 */ |
510 */ |
511 int QSystemNetworkInfo::locationAreaCode() |
511 int QSystemNetworkInfo::locationAreaCode() |
512 { |
512 { |
513 return netInfoPrivate()->locationAreaCode(); |
513 return netInfoPrivate()->locationAreaCode(); |
514 } |
514 } |
515 |
515 |
516 /*! |
516 /*! |
517 \property QSystemNetworkInfo::currentMobileCountryCode |
517 \property QSystemNetworkInfo::currentMobileCountryCode |
518 \brief The current MCC. |
518 \brief The current MCC. |
519 |
519 |
520 Returns the current Mobile Country Code. In the case of none such as a Desktop, an empty string. |
520 Returns the current Mobile Country Code. In the case of a Desktop computer, an empty string is returned. |
521 /*/ |
521 */ |
522 QString QSystemNetworkInfo::currentMobileCountryCode() |
522 QString QSystemNetworkInfo::currentMobileCountryCode() |
523 { |
523 { |
524 return netInfoPrivate()->currentMobileCountryCode(); |
524 return netInfoPrivate()->currentMobileCountryCode(); |
525 } |
525 } |
526 |
526 |
527 /*! |
527 /*! |
528 \property QSystemNetworkInfo::currentMobileNetworkCode |
528 \property QSystemNetworkInfo::currentMobileNetworkCode |
529 \brief The current MNC. |
529 \brief The current MNC. |
530 |
530 |
531 Returns the current Mobile Network Code. In the case of none such as a Desktop, an empty string. |
531 Returns the current Mobile Network Code. In the case of a Desktop computer, an empty string is returned. |
532 */ |
532 */ |
533 QString QSystemNetworkInfo::currentMobileNetworkCode() |
533 QString QSystemNetworkInfo::currentMobileNetworkCode() |
534 { |
534 { |
535 return netInfoPrivate()->currentMobileNetworkCode(); |
535 return netInfoPrivate()->currentMobileNetworkCode(); |
536 } |
536 } |
537 |
537 |
538 /*! |
538 /*! |
539 \property QSystemNetworkInfo::homeMobileCountryCode |
539 \property QSystemNetworkInfo::homeMobileCountryCode |
540 \brief The home MNC. |
540 \brief The home MNC. |
541 |
541 |
542 Returns the home Mobile Country Code. In the case of none such as a Desktop, an empty string. |
542 Returns the home Mobile Country Code. In the case of a Desktop computer, an empty string is returned. |
543 */ |
543 */ |
544 QString QSystemNetworkInfo::homeMobileCountryCode() |
544 QString QSystemNetworkInfo::homeMobileCountryCode() |
545 { |
545 { |
546 return netInfoPrivate()->homeMobileCountryCode(); |
546 return netInfoPrivate()->homeMobileCountryCode(); |
547 } |
547 } |
548 |
548 |
549 /*! |
549 /*! |
550 \property QSystemNetworkInfo::homeMobileNetworkCode |
550 \property QSystemNetworkInfo::homeMobileNetworkCode |
551 \brief The home MCC. |
551 \brief The home MCC. |
552 |
552 |
553 Returns the home Mobile Network Code. In the case of none such as a Desktop, an empty string. |
553 Returns the home Mobile Network Code. In the case of a Desktop computer, an empty string is returned. |
554 Note: Some platforms don't support retrieving this info. In this case the Network Code is |
554 Note: Some platforms don't support retrieving this info. In this case the Network Code is |
555 returned only when the device is registered on home network. |
555 returned only when the device is registered on home network. |
556 */ |
556 */ |
557 QString QSystemNetworkInfo::homeMobileNetworkCode() |
557 QString QSystemNetworkInfo::homeMobileNetworkCode() |
558 { |
558 { |
931 } |
935 } |
932 |
936 |
933 /*! |
937 /*! |
934 Temporarily inhibits the screensaver. |
938 Temporarily inhibits the screensaver. |
935 |
939 |
936 Will be reverted upon destruction of the QSystemScreenSaver object. |
940 The screensaver will be set to a non inhibited state only when this QSystemScreenSaver object gets destroyed. |
937 Returns true on success, otherwise false. |
941 |
|
942 This is a non blocking function that will return true if the inhibit procedure was successful, otherwise false. |
938 |
943 |
939 On platforms that support it, if screensaver is secure by policy, the policy will be honored |
944 On platforms that support it, if screensaver is secure by policy, the policy will be honored |
940 and this will fail. |
945 and this will fail. |
941 */ |
946 */ |
942 bool QSystemScreenSaver::setScreenSaverInhibit() |
947 bool QSystemScreenSaver::setScreenSaverInhibit() |