• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KIO

  • KIO
  • KPasswdServer
Public Member Functions | List of all members
KIO::KPasswdServer Class Reference

#include <kpasswdserver_p.h>

Public Member Functions

 KPasswdServer ()
 
 ~KPasswdServer ()
 
void addAuthInfo (const KIO::AuthInfo &info, qlonglong windowId)
 
bool checkAuthInfo (KIO::AuthInfo &info, qlonglong windowId, qlonglong usertime)
 
qlonglong queryAuthInfo (KIO::AuthInfo &info, const QString &errorMsg, qlonglong windowId, qlonglong seqNr, qlonglong usertime)
 
void removeAuthInfo (const QString &host, const QString &protocol, const QString &user)
 

Detailed Description

Interface class for kpasswdserver.

Remarks
This is currently only supposed to be used by KIO::SlaveBase but might be reused as public API in the future.

Definition at line 40 of file kpasswdserver_p.h.

Constructor & Destructor Documentation

KIO::KPasswdServer::KPasswdServer ( )

Definition at line 35 of file kpasswdserver.cpp.

KIO::KPasswdServer::~KPasswdServer ( )

Definition at line 42 of file kpasswdserver.cpp.

Member Function Documentation

void KIO::KPasswdServer::addAuthInfo ( const KIO::AuthInfo &  info,
qlonglong  windowId 
)

Manually add authentication information to kpasswdserver's cache.

Parameters
infoinformation to add
windowIdused as parent window for dialogs

Definition at line 185 of file kpasswdserver.cpp.

bool KIO::KPasswdServer::checkAuthInfo ( KIO::AuthInfo &  info,
qlonglong  windowId,
qlonglong  usertime 
)

Check if kpasswdserver has cached authentication information regarding an AuthInfo object.

Parameters
infoinformation to check cache for
windowIdused as parent for dialogs
usertimeFIXME: I'd like to know as well :)
Returns
true if kpasswdserver provided cached information, false if not
Remarks
info will contain the results of the check. To see if information was retrieved, check info.isModified().

Definition at line 47 of file kpasswdserver.cpp.

qlonglong KIO::KPasswdServer::queryAuthInfo ( KIO::AuthInfo &  info,
const QString &  errorMsg,
qlonglong  windowId,
qlonglong  seqNr,
qlonglong  usertime 
)

Let kpasswdserver ask the user for authentication information.

Parameters
infoinformation to query the user for
errorMsgerror message that will be displayed to the user
seqNrsequence number to assign to this request
windowIdused as parent for dialogs
usertimeFIXME: I'd like to know as well :)
Returns
kpasswdserver's sequence number or -1 on error
Remarks
info will contain the results of the check. To see if information was retrieved, check info.isModified().

Definition at line 113 of file kpasswdserver.cpp.

void KIO::KPasswdServer::removeAuthInfo ( const QString &  host,
const QString &  protocol,
const QString &  user 
)

Manually remove authentication information from kpasswdserver's cache.

Parameters
hosthostname of the information to remove
protocolprotocol to remove information for
userusername to remove information for

Definition at line 203 of file kpasswdserver.cpp.


The documentation for this class was generated from the following files:
  • kpasswdserver_p.h
  • kpasswdserver.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal