KIO::NetRC Class Reference
A Singleton class that provides access to passwords stored in .netrc files for automatic login purposes. An interface to the ftp .netrc files. More...
#include <authinfo.h>
Public Types | |
enum | LookUpMode { exactOnly = 0x0002, defaultOnly = 0x0004, presetOnly = 0x0008 } |
Public Member Functions | |
bool | lookup (const KURL &url, AutoLogin &login, bool userealnetrc=false, QString type=QString::null, int mode=(exactOnly|defaultOnly)) |
void | reload () |
Static Public Member Functions | |
NetRC * | self () |
Protected Member Functions | |
QString | extract (const char *, const char *, int &) |
int | openf (const QString &) |
bool | parse (int) |
Detailed Description
A Singleton class that provides access to passwords stored in .netrc files for automatic login purposes. An interface to the ftp .netrc files.This is only meant to address backward compatability with old automated ftp client style logins...
- Author:
- Dawit Alemayehu <adawit@kde.org>
Definition at line 240 of file authinfo.h.
Member Enumeration Documentation
|
Specifies the mode to be used when searching for a matching automatic login info for a given site :.
|
Member Function Documentation
|
A reference to the instance of the class.
|
|
Looks up the
References QValueList::begin(), QMap::clear(), QMap::contains(), QValueList::end(), QString::fromLatin1(), QDir::homeDirPath(), KURL::host(), QValueList::isEmpty(), QMap::isEmpty(), QString::isEmpty(), KURL::isValid(), locateLocal(), KIO::NetRC::AutoLogin::login, KIO::NetRC::AutoLogin::macdef, KIO::NetRC::AutoLogin::machine, KIO::NetRC::AutoLogin::password, KURL::protocol(), QDir::separator(), and KIO::NetRC::AutoLogin::type. |
|
Reloads the auto login information. Definition at line 297 of file authinfo.h. |
The documentation for this class was generated from the following files: