#include <privatexml.h>
Inherits IqHandler.
Inherited by Annotations, and BookmarkStorage.
Inheritance diagram for PrivateXML:
Public Member Functions | |
PrivateXML (ClientBase *parent) | |
virtual | ~PrivateXML () |
std::string | requestXML (const std::string &tag, const std::string &xmlns, PrivateXMLHandler *pxh) |
std::string | storeXML (Tag *tag, PrivateXMLHandler *pxh) |
virtual bool | handleIq (Stanza *) |
virtual bool | handleIqID (Stanza *stanza, int context) |
Protected Attributes | |
ClientBase * | m_parent |
Definition at line 37 of file privatexml.h.
|
Constructor. Creates a new PrivateXML client that registers as IqHandler with
Definition at line 21 of file privatexml.cpp. References PrivateXML::m_parent, and ClientBase::registerIqHandler(). |
|
Virtual destructor. Definition at line 28 of file privatexml.cpp. References PrivateXML::m_parent, and ClientBase::removeIqHandler(). |
|
Reimplement this function if you want to be notified about incoming IQs.
Implements IqHandler. Definition at line 72 of file privatexml.h. |
|
Reimplement this function if you want to be notified about incoming IQs with a specific value of the
Implements IqHandler. Definition at line 76 of file privatexml.cpp. References Tag::children(), Tag::findChild(), Stanza::id(), PrivateXMLHandler::PXML_STORE_OK, gloox::STANZA_IQ_RESULT, and Stanza::subtype(). |
|
Use this function to request the private XML stored in the given namespace.
Definition at line 35 of file privatexml.cpp. References Tag::addAttrib(), Tag::addChild(), ClientBase::getID(), PrivateXML::m_parent, ClientBase::send(), and ClientBase::trackID(). Referenced by RosterManager::fill(), Annotations::requestAnnotations(), and BookmarkStorage::requestBookmarks(). |
|
Use this function to store private XML stored in the given namespace.
Definition at line 57 of file privatexml.cpp. References Tag::addAttrib(), Tag::addChild(), ClientBase::getID(), PrivateXML::m_parent, ClientBase::send(), and ClientBase::trackID(). Referenced by RosterManager::setDelimiter(). |