#include <privacymanager.h>
Inherits IqHandler.
Inheritance diagram for PrivacyManager:

Public Member Functions | |
| PrivacyManager (ClientBase *parent) | |
| virtual | ~PrivacyManager () |
| std::string | store (const std::string &name, const PrivacyListHandler::PrivacyList &list) |
| std::string | requestListNames () |
| std::string | requestList (const std::string &name) |
| std::string | removeList (const std::string &name) |
| std::string | setDefault (const std::string &name) |
| std::string | unsetDefault () |
| std::string | setActive (const std::string &name) |
| std::string | unsetActive () |
| void | registerPrivacyListHandler (PrivacyListHandler *plh) |
| void | removePrivacyListHandler () |
| virtual bool | handleIq (const IQ &iq) |
| virtual void | handleIqID (const IQ &iq, int context) |
Definition at line 33 of file privacymanager.h.
|
|
Constructs a new PrivacyManager.
Definition at line 26 of file privacymanager.cpp. |
|
|
Virtual destructor. Definition at line 33 of file privacymanager.cpp. |
|
|
Reimplement this function if you want to be notified about incoming IQs.
Implements IqHandler. Definition at line 138 of file privacymanager.cpp. |
|
||||||||||||
|
Reimplement this function if you want to be notified about incoming IQs with a specific value of the
Implements IqHandler. Definition at line 157 of file privacymanager.cpp. |
|
|
Use this function to register an object as PrivacyListHandler. Only one PrivacyListHandler at a time is possible.
Definition at line 106 of file privacymanager.h. |
|
|
Removes a list by its name.
Definition at line 72 of file privacymanager.h. |
|
|
Use this function to clear the registered PrivacyListHandler. Definition at line 112 of file privacymanager.h. |
|
|
Triggers the retrieval of the named privacy lists.
Definition at line 65 of file privacymanager.h. |
|
|
Triggers the request of the privacy lists currently stored on the server. Definition at line 58 of file privacymanager.h. |
|
|
Sets the named list as active, i.e. active for this session
Definition at line 92 of file privacymanager.h. |
|
|
Sets the named list as the default list, i.e. active by default after login.
Definition at line 79 of file privacymanager.h. |
|
||||||||||||
|
Stores the given list on the server. If a list with the given name exists, the existing list is overwritten.
Definition at line 75 of file privacymanager.cpp. |
|
|
This function declines the use of any active list. Definition at line 98 of file privacymanager.h. |
|
|
This function declines the use of any default list. Definition at line 85 of file privacymanager.h. |
1.4.1