GenericSystemInfoScriptInterface Class Reference
Exposed as sysinfo.generic. More...
#include <GenericSystemInfoScriptInterface>
Public Types
enum | BatteryStatus { NoBatteryLevel, BatteryCritical, BatteryVeryLow, BatteryLow, BatteryNormal } |
enum | Feature { BluetoothFeature, CameraFeature, FmradioFeature, IrFeature, ..., HapticsFeature } |
enum | InputMethod { Keys, Keypad, Keyboard, SingleTouch, MultiTouch, Mouse } |
flags | InputMethodFlags |
enum | PowerState { UnknownPower, BatteryPower, WallPower, WallPowerChargingBattery } |
enum | Profile { UnknownProfile, SilentProfile, NormalProfile, LoudProfile, ..., CustomProfile } |
enum | SimStatus { SimNotAvailable, SingleSimAvailable, DualSimAvailable, SimLocked } |
enum | Version { Os, QtCore, Firmware } |
Properties
Public Functions
Public Slots
Detailed Description
Exposed as sysinfo.generic.
Member Type Documentation
enum GenericSystemInfoScriptInterface::BatteryStatus
enum GenericSystemInfoScriptInterface::Feature
enum GenericSystemInfoScriptInterface::InputMethod flags GenericSystemInfoScriptInterface::InputMethodFlags
The InputMethodFlags type is a typedef for QFlags<InputMethod>. It stores an OR combination of InputMethod values.
enum GenericSystemInfoScriptInterface::PowerState
enum GenericSystemInfoScriptInterface::Profile
enum GenericSystemInfoScriptInterface::SimStatus
enum GenericSystemInfoScriptInterface::Version
Property Documentation
availableLanguages : QStringList
Access functions:
QStringList | availableLanguages () const |
void | setAvailableLanguages ( const QStringList & v ) |
batteryLevel : int
Access functions:
int | batteryLevel () const |
void | setBatteryLevel ( int v ) |
colorDepth : int
Access functions:
int | colorDepth ( int screen = 0 ) const |
void | setColorDepth ( int depth ) |
currentCountryCode : QString
Access functions:
QString | currentCountryCode () const |
void | setCurrentCountryCode ( const QString & v ) |
currentLanguage : QString
Access functions:
QString | currentLanguage () const |
void | setCurrentLanguage ( const QString & v ) |
Access functions:
GenericSystemInfoScriptInterface::PowerState | currentPowerState () const |
void | setCurrentPowerState ( GenericSystemInfoScriptInterface::PowerState v ) |
currentProfile : Profile
Access functions:
GenericSystemInfoScriptInterface::Profile | currentProfile () const |
void | setCurrentProfile ( GenericSystemInfoScriptInterface::Profile v ) |
deviceLocked : bool
Access functions:
bool | isDeviceLocked () const |
void | setDeviceLocked ( bool v ) |
displayBrightness : int
Access functions:
int | displayBrightness ( int screen = 0 ) const |
void | setDisplayBrightness ( int brightness ) |
imei : QString
Access functions:
QString | imei () const |
void | setImei ( const QString & v ) |
imsi : QString
Access functions:
QString | imsi () const |
void | setImsi ( const QString & v ) |
Access functions:
GenericSystemInfoScriptInterface::InputMethodFlags | inputMethod () const |
void | setInputMethod ( GenericSystemInfoScriptInterface::InputMethodFlags v ) |
manufacturer : QString
Access functions:
QString | manufacturer () const |
void | setManufacturer ( const QString & v ) |
model : QString
Access functions:
QString | model () const |
void | setModel ( const QString & v ) |
productName : QString
Access functions:
QString | productName () const |
void | setProductName ( const QString & v ) |
Access functions:
GenericSystemInfoScriptInterface::SimStatus | simStatus () const |
void | setSimStatus ( GenericSystemInfoScriptInterface::SimStatus v ) |
Member Function Documentation
GenericSystemInfoScriptInterface::GenericSystemInfoScriptInterface ( GenericSystemInfoUi * ui )
GenericSystemInfoScriptInterface::~GenericSystemInfoScriptInterface ()
void GenericSystemInfoScriptInterface::addAvailableLanguage ( const QString & v ) [slot]
void GenericSystemInfoScriptInterface::removeAllAvailableLanguages () [slot]
bool GenericSystemInfoScriptInterface::removeAvailableLanguage ( const QString & v ) [slot]
See also hasFeature().
See also version().
QString GenericSystemInfoScriptInterface::version ( GenericSystemInfoScriptInterface::Version v, const QString & param = "" ) const
See also setVersion().
|