.TH "KABC::Agent" kde3 "11 Jun 2005" "Version Version 3.4.1" "kabc Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KABC::Agent \- Important!!!  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <agent.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBAgent\fP ()"
.br
.ti -1c
.RI "\fBAgent\fP (const \fBQString\fP &url)"
.br
.ti -1c
.RI "\fBAgent\fP (\fBAddressee\fP *addressee)"
.br
.ti -1c
.RI "\fB~Agent\fP ()"
.br
.ti -1c
.RI "bool \fBoperator==\fP (const \fBAgent\fP &) const "
.br
.ti -1c
.RI "bool \fBoperator!=\fP (const \fBAgent\fP &) const "
.br
.ti -1c
.RI "\fBAgent\fP & \fBoperator=\fP (const \fBAgent\fP &)"
.br
.ti -1c
.RI "void \fBsetUrl\fP (const \fBQString\fP &url)"
.br
.ti -1c
.RI "void \fBsetAddressee\fP (\fBAddressee\fP *addressee)"
.br
.ti -1c
.RI "bool \fBisIntern\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBurl\fP () const "
.br
.ti -1c
.RI "\fBAddressee\fP * \fBaddressee\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBasString\fP () const "
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "KABC_EXPORT \fBQDataStream\fP & \fBoperator<<\fP (\fBQDataStream\fP &, const \fBAgent\fP &)"
.br
.ti -1c
.RI "KABC_EXPORT \fBQDataStream\fP & \fBoperator>>\fP (\fBQDataStream\fP &, \fBAgent\fP &)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Important!!! 

At the moment the vcard format does not support saving and loading this entity. 
.PP
Definition at line 40 of file agent.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "Agent::Agent ()"
.PP
Consturctor. 
.PP
Creates an empty object. 
.PP
Definition at line 27 of file agent.cpp.
.SS "Agent::Agent (const \fBQString\fP & url)"
.PP
Consturctor. 
.PP
\fBParameters:\fP
.RS 4
\fIurl\fP A URL that describes the position of the agent file. 
.RE
.PP

.PP
Definition at line 32 of file agent.cpp.
.SS "Agent::Agent (\fBAddressee\fP * addressee)"
.PP
Consturctor. 
.PP
\fBParameters:\fP
.RS 4
\fIaddressee\fP The addressee object of the agent. 
.RE
.PP

.PP
Definition at line 37 of file agent.cpp.
.SS "Agent::~\fBAgent\fP ()"
.PP
Destructor. 
.PP
Definition at line 42 of file agent.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void Agent::setUrl (const \fBQString\fP & url)"
.PP
Sets a URL for the location of the agent file. 
.PP
When using this function, \fBisIntern()\fP will return 'false' until you use \fBsetAddressee()\fP.
.PP
\fBParameters:\fP
.RS 4
\fIurl\fP The location URL of the agent file. 
.RE
.PP

.PP
Definition at line 90 of file agent.cpp.
.SS "void Agent::setAddressee (\fBAddressee\fP * addressee)"
.PP
Sets the addressee of the agent. 
.PP
When using this function, \fBisIntern()\fP will return 'true' until you use \fBsetUrl()\fP.
.PP
\fBParameters:\fP
.RS 4
\fIaddressee\fP The addressee object of the agent. 
.RE
.PP

.PP
Definition at line 96 of file agent.cpp.
.PP
References addressee().
.SS "bool Agent::isIntern () const"
.PP
Returns whether the agent is described by a URL (extern) or by a addressee (intern). 
.PP
When this method returns 'true' you can use \fBaddressee()\fP to get a \fBAddressee\fP object. Otherwise you can request the URL of this agent by \fBurl()\fP and load the data from that location. 
.PP
Definition at line 102 of file agent.cpp.
.SS "\fBQString\fP Agent::url () const"
.PP
Returns the location URL of this agent. 
.PP
Definition at line 107 of file agent.cpp.
.SS "\fBAddressee\fP * Agent::addressee () const"
.PP
Returns the addressee object of this agent. 
.PP
Definition at line 112 of file agent.cpp.
.PP
Referenced by setAddressee().
.SS "\fBQString\fP Agent::asString () const"
.PP
Returns string representation of the agent. 
.PP
Definition at line 117 of file agent.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for kabc Library from the source code.
