• UpnpDevice
  • UpnpDevice Class

    Describes an UPnP device. More...

    Header: #include <UpnpDevice>
    Inherits:

    Public Functions

    UpnpDevice(QObject * parent = nullptr, UpnpDeviceDescriptor upnpDeviceDescriptor = UpnpDeviceDescriptor())
    QString deviceType() const
    QString friendlyName() const
    QHostAddress hostAddress() const
    QUrl location()
    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

    Describes an UPnP device.

    This class represents a UPnP device with all parameters described in following documentation: http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf.

    Member Function Documentation

    UpnpDevice::UpnpDevice(QObject * parent = nullptr, UpnpDeviceDescriptor upnpDeviceDescriptor = UpnpDeviceDescriptor())

    Constructs a UpnpDevice with the given parent and the given upnpDeviceDescriptor

    See also UpnpDeviceDescriptor.

    QString UpnpDevice::deviceType() const

    Returns the type of this UPnP device.

    See also setDeviceType().

    QString UpnpDevice::friendlyName() const

    Returns the friendly name of this UPnP device.

    See also setFriendlyName().

    QHostAddress UpnpDevice::hostAddress() const

    Returns the host address of this UPnP device.

    See also setHostAddress().

    QUrl UpnpDevice::location()

    Returns the location URL of this UPnP device.

    See also setLocation().

    QString UpnpDevice::manufacturer() const

    Returns the manufacturer of this UPnP device.

    See also setManufacturer().

    QUrl UpnpDevice::manufacturerURL() const

    Returns the manufacturer URL of this UPnP device.

    See also setManufacturerURL().

    QString UpnpDevice::modelDescription() const

    Returns the model description of this UPnP device.

    See also setModelDescription().

    QString UpnpDevice::modelName() const

    Returns the model name of this UPnP device.

    See also setModelName().

    QString UpnpDevice::modelNumber() const

    Returns the model number of this UPnP device.

    See also setModelNumber().

    QUrl UpnpDevice::modelURL() const

    Returns the model URL of this UPnP device.

    See also setModelURL().

    int UpnpDevice::port() const

    Returns the port of this UPnP device.

    See also setPort().

    QString UpnpDevice::serialNumber() const

    Returns the serial number of this UPnP device.

    See also setSerialNumber().

    void UpnpDevice::setDeviceType(const QString & deviceType)

    Sets the deviceType of this UPnP device.

    See also deviceType().

    void UpnpDevice::setFriendlyName(const QString & friendlyName)

    Sets the friendlyName of this UPnP device.

    See also friendlyName().

    void UpnpDevice::setHostAddress(const QHostAddress & hostAddress)

    Sets the hostAddress of this UPnP device.

    See also hostAddress().

    void UpnpDevice::setLocation(const QUrl & location)

    Sets the location URL of this UPnP device.

    See also location().

    void UpnpDevice::setManufacturer(const QString & manufacturer)

    Sets the manufacturer of this UPnP device.

    See also manufacturer().

    void UpnpDevice::setManufacturerURL(const QUrl & manufacturerURL)

    Sets the manufacturerURL of this UPnP device.

    See also manufacturerURL().

    void UpnpDevice::setModelDescription(const QString & modelDescription)

    Sets the modelDescription of this UPnP device.

    See also modelDescription().

    void UpnpDevice::setModelName(const QString & modelName)

    Sets the modelName of this UPnP device.

    See also modelName().

    void UpnpDevice::setModelNumber(const QString & modelNumber)

    Sets the modelNumber of this UPnP device.

    See also modelNumber().

    void UpnpDevice::setModelURL(const QUrl & modelURL)

    Sets the modelURL of this UPnP device.

    See also modelURL().

    void UpnpDevice::setPort(const int & port)

    Sets the port of this UPnP device.

    See also port().

    void UpnpDevice::setSerialNumber(const QString & serialNumber)

    Sets the serialNumber of this UPnP device.

    See also serialNumber().

    void UpnpDevice::setUpc(const QString & upc)

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

    See also upc().

    void UpnpDevice::setUuid(const QString & uuid)

    Sets the uuid of this UPnP device.

    See also uuid().

    QString UpnpDevice::upc() const

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

    See also setUpc().

    QString UpnpDevice::uuid() const

    Returns the uuid of this UPnP device.

    See also setUuid().