• Vendor
  • Vendor Class

    Holds information about a the vendor of a Device. More...

    Header: #include <Vendor>

    Public Functions

    Vendor(const VendorId & id, const QString & name = QString())
    QString displayName() const
    VendorId id() const
    QString name() const
    void setDisplayName(const QString & displayName)
    void setId(const VendorId & id)
    void setName(const QString & name)

    Detailed Description

    Holds information about a the vendor of a Device.

    See also DevicePlugin.

    Member Function Documentation

    Vendor::Vendor(const VendorId & id, const QString & name = QString())

    Constructs an Vendor with the given id and the given name.

    QString Vendor::displayName() const

    Returns the name of this Vendor, to be shown to the user, translated.

    See also setDisplayName().

    VendorId Vendor::id() const

    Returns the id of this Vendor.

    See also setId().

    QString Vendor::name() const

    Returns the name of this Vendor.

    See also setName().

    void Vendor::setDisplayName(const QString & displayName)

    Sets the displayName of this Vendor, to be shown to the user, translated.

    See also displayName().

    void Vendor::setId(const VendorId & id)

    Set the id of this Vendor with the given id.

    See also id().

    void Vendor::setName(const QString & name)

    Set the name of this Vendor with the given name.

    See also name().