.TH "KPAC" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KPAC \- Proxy Auto Configuration.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kpac.h>\fP
.PP
Inherited by KPACImpl.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual \fBQString\fP \fBproxyForURL\fP (const  \fBKURL\fP &url)=0"
.br
.RI "\fIReturns the proxy for the \fCurl\fP or QString::null if the request should be done unproxied. \fP"
.ti -1c
.RI "virtual bool \fBinit\fP (const  \fBKURL\fP &url)=0"
.br
.RI "\fILoads the PAC-script. \fP"
.ti -1c
.RI "virtual bool \fBdiscover\fP ()=0"
.br
.RI "\fITries to discover a PAC-script and loads it. \fP"
.ti -1c
.RI "virtual void \fBbadProxy\fP (const  \fBQString\fP &proxy)=0"
.br
.RI "\fIMarks \fCproxy\fP as down. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Proxy Auto Configuration. Definition at line 32 of file kpac.h.
.SH "Member Function Documentation"
.PP 
.SS "virtual \fBQString\fP KPAC::proxyForURL (const \fBKURL\fP & url)\fC [pure virtual]\fP"
.PP
Returns the proxy for the \fCurl\fP or QString::null if the request should be done unproxied. Referenced by KProtocolManager::proxyForURL().
.SS "virtual bool KPAC::init (const \fBKURL\fP & url)\fC [pure virtual]\fP"
.PP
Loads the PAC-script. \fBParameters:\fP
.RS 4
\fIurl\fP URL of the script. 
.RE
.PP

.SS "virtual bool KPAC::discover ()\fC [pure virtual]\fP"
.PP
Tries to discover a PAC-script and loads it. 
.SS "virtual void KPAC::badProxy (const \fBQString\fP & proxy)\fC [pure virtual]\fP"
.PP
Marks \fCproxy\fP as down. If the config script returns alternative proxies or allows a direct connection as fallback, this proxy will not be returned for a while. 

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