This class is used to specify information that is required to setup an HDevice.
More...
#include <HDeviceSetup>
List of all members.
Detailed Description
- See also:
- HDevicesSetupData, HDevice
Constructor & Destructor Documentation
Creates a new, invalid instance.
- See also:
- isValid()
Creates a new instance.
- Parameters:
-
| type | specifies the device type. |
| incReq | specifies inclusion requirement of the device. |
- See also:
- isValid()
Creates a new instance.
- Parameters:
-
| type | specifies the device type. |
| version | specifies the version of the UPnP device, which first specified the embedded device. |
| incReq | specifies inclusion requirement of the device. |
- See also:
- isValid()
Creates a new instance.
- Parameters:
-
| type | specifies the device type. |
| device | specifies a pointer to a heap-allocated HDevice. This instance takes the ownership of the device. |
| incReq | specifies inclusion requirement of the device. |
- See also:
- isValid()
Creates a new instance.
- Parameters:
-
| type | specifies the device type. |
| device | specifies a pointer to a heap-allocated HDevice. This instance takes the ownership of the device. |
| version | specifies the version of the UPnP device, which first specified the embedded device. |
| incReq | specifies inclusion requirement of the device. |
- See also:
- isValid()
Member Function Documentation
Returns the HDevice pointer associated with the instance.
- Returns:
- the HDevice pointer associated with the instance. The ownership of the HDevice is not transferred to the caller.
- See also:
- takeDevice()
Returns the version of the UPnP device, which first specified the embedded device.
- Returns:
- the version of the UPnP device, which first specified the embedded device.
- See also:
- setVersion()
Sets the the inclusion requirement.
- Parameters:
-
| arg | specifies the inclusion requirement. |
- See also:
- inclusionRequirement()
Sets the device type.
- Parameters:
-
| arg | specifies the device type. |
- See also:
- deviceType()
Associates an HDevice pointer with this instance.
- Parameters:
-
| arg | specifies the HDevice pointer to be associated with this instance. The instance takes the ownership of the provided HDevice. |
- See also:
- device(), takeDevice()
void setVersion |
( |
qint32 |
version |
) |
|
Specifies the version of the UPnP device, which first specified the embedded device.
- Parameters:
-
| version | specifies the version of the UPnP device, which first specified the embedded device. |
- See also:
- version()
Returns the HDevice pointer associated with the instance and passes the ownership of the object to the caller.
- Returns:
- the HDevice pointer associated with the instance and passes the ownership of the object to the caller.
- See also:
- device(), setDevice()