class KPAC

# class KPAC | Proxy Auto Configuration. More...
Contains pure virtuals
Definition | `#include <kpac.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- virtual ~KPAC ()
- virtual QString proxyForURL (const KURL &url)
- virtual bool init (const KURL &url)
- virtual bool discover ()
- virtual void badProxy (const QString &proxy)

#### Protected Methods

- virtual void virtual_hook ( int id, void* data )

## Detailed Description

Proxy Auto Configuration.

~KPAC () | ### ~KPAC

[virtual]

QString proxyForURL (const KURL &url) | ### proxyForURL

[pure virtual]

Returns the proxy for the `url` or QString::null if the request should be done unproxied

bool init (const KURL &url) | ### init

[pure virtual]

Loads the PAC-script

Parameters:

url | URL of the script.

bool discover () | ### discover

[pure virtual]

Tries to discover a PAC-script and loads it.

void badProxy (const QString &proxy) | ### badProxy

[pure virtual]

Marks `proxy` 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.

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:57 2003, using kdoc 2.0a54.