class NetRC

An interface to kionetrc and the ftp .netrc files. More...

Full nameKIO::NetRC
Definition#include <authinfo.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Static Methods

Protected Methods


Detailed Description

A Singleton class that provides access to passwords stored in .netrc and kionetrc for automatic login purposes.

enum LookUpMode { exactOnly = 0x0002, defaultOnly = 0x0004, presetOnly = 0x0008 }

LookUpMode

Specifies the mode to be used when searching for a matching automatic login info for a given site :

exactOnly search entries with exact host name matches. defaultOnly search entries that are specified as "default". presetOnly search entries that are specified as "preset".

See also: lookup

AutoLogin (struct)

AutoLogin

NetRC*  self ()

self

[static]

bool  lookup ( const KURL&, AutoLogin&, bool userealnetrc = false, QString type = QString::null, int mode = (exactOnly|defaultOnly) )

lookup

void  reload ()

reload

QString  extract ( const char*, const char*, int& )

extract

[protected]

int  openf ( const QString& )

openf

[protected]

void  parse ( int )

parse

[protected]