• Param
  • Param Class

    Holds the parameters of a Param. More...

    Header: #include <Param>
    Inherited By:

    ParamDescriptor

    Public Functions

    Param(const ParamTypeId & paramTypeId = ParamTypeId(), const QVariant & value = QVariant())
    bool isValid() const
    ParamTypeId paramTypeId() const
    void setValue(const QVariant & value)
    QVariant value() const

    Detailed Description

    Holds the parameters of a Param.

    See also Device, ParamType, and ParamDescriptor.

    Member Function Documentation

    Param::Param(const ParamTypeId & paramTypeId = ParamTypeId(), const QVariant & value = QVariant())

    Constructs a Param with the given paramTypeId and value of the parameter.

    bool Param::isValid() const

    Returns true if paramTypeId() and and value() of this Param are set.

    ParamTypeId Param::paramTypeId() const

    Returns the paramTypeId of this Param.

    void Param::setValue(const QVariant & value)

    Sets the value of this Param.

    See also value().

    QVariant Param::value() const

    Returns the value of this Param.

    See also setValue().