Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QIrIasDatabase class provides access to the local IAS Database. More...
#include <QIrIasDatabase>
The QIrIasDatabase class provides access to the local IAS Database.
IAS stands for Information Access Service. The IAS database provides a way for applications to register information about the infrared services they provide.
QIrIasDatabase class provides access to the local IAS Database, and gives the ability to add, query and delete attributes. This class also allows to modify the advertised major classes this device supports. These are generally referred to as service hints.
Returns the value of an attribute from the local IAS Database. The className parameter specifies the class name of the attribute. The attribName parameter specifies the attribute name. Returns an invalid QVariant in case of failure, and valid otherwise. The value of QVariant can be one of:
NOTE: Under linux this function requires administrator privileges. Under windows this function has no effect and always returns an invalid value.
See also setAttribute() and removeAttribute().
Attempts to remove the attribute from the local IAS Database. The className parameter specifies the class name of the attribute. The attribName parameter specifies the attribute name. Returns true if the attribute could be removed, false otherwise.
NOTE: Under linux this function requires administrator privileges. Under Windows this function has no effect and always returns false
See also setAttribute() and attribute().
Sets a new attribute into the IAS Database returning true if successful; otherwise returning false. The attr parameter holds the attribute to be set. Attr can be of the following types:
Any other type will be treated as invalid. The className parameter holds the class name of the IAS attribute. The attribName parameter holds the attribute name of the attribute.
NOTE: Under linux this function requires administrator privileges.
See also attribute() and removeAttribute().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |