• UpnpDeviceDescriptor
  • UpnpDeviceDescriptor Class

    Holds the description of an UPnP device. More...

    Header: #include <UpnpDeviceDescriptor>

    Public Functions

    UpnpDeviceDescriptor()
    QString deviceType() const
    QString friendlyName() const
    QHostAddress hostAddress() const
    QUrl location() const
    QString manufacturer() const
    QUrl manufacturerURL() const
    QString modelDescription() const
    QString modelName() const
    QString modelNumber() const
    QUrl modelURL() const
    int port() const
    QString serialNumber() const
    void setDeviceType(const QString & deviceType)
    void setFriendlyName(const QString & friendlyName)
    void setHostAddress(const QHostAddress & hostAddress)
    void setLocation(const QUrl & location)
    void setManufacturer(const QString & manufacturer)
    void setManufacturerURL(const QUrl & manufacturerURL)
    void setModelDescription(const QString & modelDescription)
    void setModelName(const QString & modelName)
    void setModelNumber(const QString & modelNumber)
    void setModelURL(const QUrl & modelURL)
    void setPort(const int & port)
    void setSerialNumber(const QString & serialNumber)
    void setUpc(const QString & upc)
    void setUuid(const QString & uuid)
    QString upc() const
    QString uuid() const

    Detailed Description

    Holds the description of an UPnP device.

    The upnp device descriptor holds the discovered information of a UPnP device. These information are the result of a discoverDevices() request and can accessed in from the deviceDescriptors() once the UpnpDiscoveryReply is finished.

    You can find an example here.

    See also UpnpDevice, UpnpDiscovery, and UpnpDiscoveryReply.

    Member Function Documentation

    UpnpDeviceDescriptor::UpnpDeviceDescriptor()

    Constructs an UpnpDeviceDescriptor

    QString UpnpDeviceDescriptor::deviceType() const

    Returns the type of this UPnP device.

    See also setDeviceType().

    QString UpnpDeviceDescriptor::friendlyName() const

    Returns the friendly name of this UPnP device.

    See also setFriendlyName().

    QHostAddress UpnpDeviceDescriptor::hostAddress() const

    Returns the host address of this UPnP device.

    See also setHostAddress().

    QUrl UpnpDeviceDescriptor::location() const

    Returns the location URL of this UPnP device.

    See also setLocation().

    QString UpnpDeviceDescriptor::manufacturer() const

    Returns the manufacturer of this UPnP device.

    See also setManufacturer().

    QUrl UpnpDeviceDescriptor::manufacturerURL() const

    Returns the manufacturer URL of this UPnP device.

    See also setManufacturerURL().

    QString UpnpDeviceDescriptor::modelDescription() const

    Returns the model description of this UPnP device.

    See also setModelDescription().

    QString UpnpDeviceDescriptor::modelName() const

    Returns the model name of this UPnP device.

    See also setModelName().

    QString UpnpDeviceDescriptor::modelNumber() const

    Returns the model number of this UPnP device.

    See also setModelNumber().

    QUrl UpnpDeviceDescriptor::modelURL() const

    Returns the model URL of this UPnP device.

    See also setModelURL().

    int UpnpDeviceDescriptor::port() const

    Returns the port of this UPnP device.

    See also setPort().

    QString UpnpDeviceDescriptor::serialNumber() const

    Returns the serial number of this UPnP device.

    See also setSerialNumber().

    void UpnpDeviceDescriptor::setDeviceType(const QString & deviceType)

    Sets the deviceType of this UPnP device.

    See also deviceType().

    void UpnpDeviceDescriptor::setFriendlyName(const QString & friendlyName)

    Sets the friendlyName of this UPnP device.

    See also friendlyName().

    void UpnpDeviceDescriptor::setHostAddress(const QHostAddress & hostAddress)

    Sets the hostAddress of this UPnP device.

    See also hostAddress().

    void UpnpDeviceDescriptor::setLocation(const QUrl & location)

    Sets the location URL of this UPnP device.

    See also location().

    void UpnpDeviceDescriptor::setManufacturer(const QString & manufacturer)

    Sets the manufacturer of this UPnP device.

    See also manufacturer().

    void UpnpDeviceDescriptor::setManufacturerURL(const QUrl & manufacturerURL)

    Sets the manufacturerURL of this UPnP device.

    See also manufacturerURL().

    void UpnpDeviceDescriptor::setModelDescription(const QString & modelDescription)

    Sets the modelDescription of this UPnP device.

    See also modelDescription().

    void UpnpDeviceDescriptor::setModelName(const QString & modelName)

    Sets the modelName of this UPnP device.

    See also modelName().

    void UpnpDeviceDescriptor::setModelNumber(const QString & modelNumber)

    Sets the modelNumber of this UPnP device.

    See also modelNumber().

    void UpnpDeviceDescriptor::setModelURL(const QUrl & modelURL)

    Sets the modelURL of this UPnP device.

    See also modelURL().

    void UpnpDeviceDescriptor::setPort(const int & port)

    Sets the port of this UPnP device.

    See also port().

    void UpnpDeviceDescriptor::setSerialNumber(const QString & serialNumber)

    Sets the serialNumber of this UPnP device.

    See also serialNumber().

    void UpnpDeviceDescriptor::setUpc(const QString & upc)

    Sets the upc (Universal Product Code) of this UPnP device.

    See also upc().

    void UpnpDeviceDescriptor::setUuid(const QString & uuid)

    Sets the uuid of this UPnP device.

    See also uuid().

    QString UpnpDeviceDescriptor::upc() const

    Returns the UPC (Universal Product Code) of this UPnP device.

    See also setUpc().

    QString UpnpDeviceDescriptor::uuid() const

    Returns the uuid of this UPnP device.

    See also setUuid().