|
gloox 1.0
|
An abstraction of an <item> element in a XEP-0004 Data Form of type result. More...
#include <dataformitem.h>

Public Member Functions | |
| DataFormItem () | |
| DataFormItem (const Tag *tag) | |
| virtual | ~DataFormItem () |
| virtual Tag * | tag () const |
An abstraction of an <item> element in a XEP-0004 Data Form of type result.
There are some constraints regarding usage of this element you should be aware of. Check XEP-0004 section 3.4. This class does not enforce correct usage at this point.
Definition at line 31 of file dataformitem.h.
| DataFormItem | ( | ) |
Creates an empty 'item' element you can add fields to.
Definition at line 21 of file dataformitem.cpp.
| DataFormItem | ( | const Tag * | tag | ) |
Creates a 'item' element and fills it with the 'field' elements contained in the given Tag. The Tag's root element must be a 'item' element. Its child element should be 'field' elements.
| tag | The tag to read the 'field' elements from. |
Definition at line 25 of file dataformitem.cpp.
| ~DataFormItem | ( | ) | [virtual] |
Virtual destructor.
Definition at line 39 of file dataformitem.cpp.
| Tag * tag | ( | ) | const [virtual] |
Creates and returns a Tag representation of the current object.
Definition at line 43 of file dataformitem.cpp.
1.7.4