KABC::Agent Class Reference
Important!!! More...
#include <agent.h>
Collaboration diagram for KABC::Agent:

| Public Member Functions | |
| Agent () | |
| Agent (const QString &url) | |
| Agent (Addressee *addressee) | |
| ~Agent () | |
| bool | operator== (const Agent &) const | 
| bool | operator!= (const Agent &) const | 
| Agent & | operator= (const Agent &) | 
| void | setUrl (const QString &url) | 
| void | setAddressee (Addressee *addressee) | 
| bool | isIntern () const | 
| QString | url () const | 
| Addressee * | addressee () const | 
| QString | asString () const | 
| Friends | |
| QDataStream & | operator<< (QDataStream &, const Agent &) | 
| QDataStream & | operator>> (QDataStream &, Agent &) | 
Detailed Description
Important!!!At the moment the vcard format does not support saving and loading this entity.
Definition at line 38 of file agent.h.
Constructor & Destructor Documentation
| 
 | 
| Consturctor. Creates an empty object. | 
| 
 | 
| Consturctor. 
 
 | 
| 
 | 
| Consturctor. 
 
 | 
| 
 | 
| Destructor. 
 | 
Member Function Documentation
| 
 | 
| Sets a URL for the location of the agent file. When using this function, isIntern() will return 'false' until you use setAddressee(). 
 
 | 
| 
 | 
| Sets the addressee of the agent. When using this function, isIntern() will return 'true' until you use setUrl(). 
 
 | 
| 
 | 
| Returns whether the agent is described by a URL (extern) or by a addressee (intern). When this method returns 'true' you can use addressee() to get a Addressee object. Otherwise you can request the URL of this agent by url() and load the data from that location. | 
| 
 | 
| Returns the location URL of this agent. 
 | 
| 
 | 
| Returns the addressee object of this agent. 
 | 
| 
 | 
| Returns string representation of the agent. 
 | 
The documentation for this class was generated from the following files:

