The QXmppDataForm::Field class represents a data form field as defined by XEP-0004: Data Forms.
More...
#include <QXmppDataForm.h>
|
enum | Type {
BooleanField,
FixedField,
HiddenField,
JidMultiField,
JidSingleField,
ListMultiField,
ListSingleField,
TextMultiField,
TextPrivateField,
TextSingleField
} |
| This enum is used to describe a field's type.
|
|
The QXmppDataForm::Field class represents a data form field as defined by XEP-0004: Data Forms.
§ setDescription()
void QXmppDataForm::Field::setDescription |
( |
const QString & |
description | ) |
|
Sets the field's description.
- Parameters
-
§ setKey()
void QXmppDataForm::Field::setKey |
( |
const QString & |
key | ) |
|
Sets the field's key.
- Parameters
-
§ setLabel()
void QXmppDataForm::Field::setLabel |
( |
const QString & |
label | ) |
|
Sets the field's label.
- Parameters
-
§ setOptions()
void QXmppDataForm::Field::setOptions |
( |
const QList< QPair< QString, QString > > & |
options | ) |
|
Sets the field's options.
- Parameters
-
§ setRequired()
void QXmppDataForm::Field::setRequired |
( |
bool |
required | ) |
|
Set to true if the field is required, false otherwise.
- Parameters
-
§ setType()
Sets the field's type.
- Parameters
-
§ setValue()
void QXmppDataForm::Field::setValue |
( |
const QVariant & |
value | ) |
|
Sets the field's value.
- Parameters
-
The documentation for this class was generated from the following files: