The Profile::Parameter class represents a parameter defined in .profile files.
More...
#include <TelepathyQt/Profile>
The Profile::Parameter class represents a parameter defined in .profile files.
◆ Parameter() [1/3]
Tp::Profile::Parameter::Parameter |
( |
| ) |
|
◆ Parameter() [2/3]
Tp::Profile::Parameter::Parameter |
( |
const Parameter & |
other | ) |
|
◆ Parameter() [3/3]
Tp::Profile::Parameter::Parameter |
( |
const QString & |
name, |
|
|
const QDBusSignature & |
dbusSignature, |
|
|
const QVariant & |
value, |
|
|
const QString & |
label, |
|
|
bool |
mandatory |
|
) |
| |
Construct a new Profile::Parameter object.
- Parameters
-
name | The parameter name. |
dbusSignature | The parameter D-Bus signature. |
value | The parameter value. |
label | The parameter label. |
mandatory | Whether this parameter is mandatory. |
◆ ~Parameter()
Tp::Profile::Parameter::~Parameter |
( |
| ) |
|
◆ name()
QString Tp::Profile::Parameter::name |
( |
| ) |
const |
Return the name of this parameter.
- Returns
- The name of this parameter.
◆ dbusSignature()
QDBusSignature Tp::Profile::Parameter::dbusSignature |
( |
| ) |
const |
Return the D-Bus signature of this parameter.
- Returns
- The D-Bus signature of this parameter.
◆ type()
QVariant::Type Tp::Profile::Parameter::type |
( |
| ) |
const |
Return the QVariant::Type of this parameter, constructed using dbusSignature().
- Returns
- The QVariant::Type of this parameter.
◆ value()
QVariant Tp::Profile::Parameter::value |
( |
| ) |
const |
Return the value of this parameter.
If mandatory() returns true
, the value must not be modified and should be used as is when creating accounts for this profile.
- Returns
- The value of this parameter.
◆ label()
QString Tp::Profile::Parameter::label |
( |
| ) |
const |
Return the human-readable label of this parameter.
- Returns
- The human-readable label of this parameter.
◆ isMandatory()
bool Tp::Profile::Parameter::isMandatory |
( |
| ) |
const |
Return whether this parameter is mandatory, or whether the value returned by value() should be used as is when creating accounts for this profile.
- Returns
true
if mandatory, otherwise false
.
◆ operator=()