class SessionData

Helper class that abstracts out static io-slave configuration infromation from the scheduler. More...

Full nameKIO::SessionData
Definition#include <sessiondata.h>
InheritsQObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots


Detailed Description

This class hanldes static io-slave config information. Static config information are options that rarely change and even when they do they require user intervention. These kinds of options are mostly modifiable by the end user from the control panel and as such do not change as much as per session options, those that can be modified programtically. Some examples of static config information are things such as locale settings, location of caching directories, and state of the cookiejar.

Note that this class is only concerned with KDE configurations that are needed by the io-slaves.

 SessionData ()

SessionData

 ~SessionData ()

~SessionData

void  configDataFor ( SlaveConfig* cfg, const QString& proto, const QString& host = QString::null )

configDataFor

[virtual]

Sets any missing and/or required config data for the given io-slave (protocol) and host.

Parameters:
cfgthe configuration class passed to the io-slve
protothe protocol (http, ftp, pop3) etc...
hostthe host from which the resource is requested (eg: kde.org)

void  reset ()

reset

[virtual]

Re-reads configuration information.

void  setRequestURL (const KURL& url)

setRequestURL

Set the current request URL.

This information, if supplied, is used to determine whether or not automatic login information is available for the current request.

Parameters:
urlcurrent request URL.

void  slotAuthData ( const QCString&, const QCString&, bool )

slotAuthData

[slot]

Slot that tracks and manages authentication information using the supplied keys.

@param @param @param

void  slotDelAuthData ( const QCString& key )

slotDelAuthData

[slot]

Removes the authenticion information stored using the supplied key.

Parameters:
keykey for authentication info to be deleted