KIO
authinfo.cpp
Go to the documentation of this file.
76 QDataStream& operator<< (QDataStream& s, const ExtraField& extraField)
QString comment
Additional comment to be displayed when prompting the user for authentication information.
Definition: authinfo.h:166
void setExtraField(const QString &fieldName, const QVariant &value)
Set Extra Field Value.
Definition: authinfo.cpp:177
QString digestInfo
Field to store any extra authentication information for protocols that need it.
Definition: authinfo.h:199
void setExtraFieldFlags(const QString &fieldName, const FieldFlags flags)
Set Extra Field Flags.
Definition: authinfo.cpp:182
int stat(const QString &path, KDE_struct_stat *buf)
This class is intended to make it easier to prompt for, cache and retrieve authorization information...
Definition: authinfo.h:57
QVariant getExtraField(const QString &fieldName) const
Get Extra Field Value Check QVariant::isValid() to find out if the field exists.
Definition: authinfo.cpp:187
bool readOnly
Flag which if set forces the username field to be read-only.
Definition: authinfo.h:219
Definition: authinfo.h:322
QDataStream & operator<<(QDataStream &s, const AuthInfo &a)
Definition: authinfo.cpp:209
Definition: authinfo.h:323
int open(const QString &pathname, int flags, mode_t mode)
QString realmValue
A unique identifier that allows caching of multiple passwords for different resources in the same ser...
Definition: authinfo.h:189
bool isModified() const
Use this method to check if the object was modified.
Definition: authinfo.cpp:165
bool verifyPath
Flag that, if set, indicates whether a path match should be performed when requesting for cached auth...
Definition: authinfo.h:212
QString protocol() const
Definition: authinfo.h:324
A Singleton class that provides access to passwords stored in .netrc files for automatic login purpos...
Definition: authinfo.h:306
void setModified(bool flag)
Use this method to indicate that this object has been modified.
Definition: authinfo.cpp:170
static QString locateLocal(const char *type, const QString &filename, const KComponentData &cData=KGlobal::mainComponent())
unsigned int version()
Definition: authinfo.h:240
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
bool lookup(const KUrl &url, AutoLogin &login, bool userealnetrc=false, const QString &type=QString(), LookUpMode mode=LookUpMode(exactOnly)|defaultOnly)
Looks up the login information for the given url.
Definition: authinfo.cpp:293
QString caption
The text to displayed in the title bar of the password prompting dialog.
Definition: authinfo.h:142
QString commentLabel
Descriptive label to be displayed in front of the comment when prompting the user for password...
Definition: authinfo.h:175
AuthInfo::FieldFlags getExtraFieldFlags(const QString &fieldName) const
Get Extra Field Flags.
Definition: authinfo.cpp:193
KAction * close(const QObject *recvr, const char *slot, QObject *parent)
QString prompt
Information to be displayed when prompting the user for authentication information.
Definition: authinfo.h:131
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.