KDEUI
Go to the documentation of this file.
21 #ifndef KPASSWORDDIALOG_H
22 #define KPASSWORDDIALOG_H
25 #include <QtCore/QFlags>
69 ShowKeepPassword = 0x01,
74 ShowUsernameLine = 0x02,
78 UsernameReadOnly = 0x04,
83 ShowAnonymousLoginCheckBox = 0x08,
88 ShowDomainLine = 0x10,
95 Q_DECLARE_FLAGS(KPasswordDialogFlags, KPasswordDialogFlag)
133 const KPasswordDialogFlags& flags = 0,
134 const KDialog::ButtonCodes otherButtons = 0);
145 void setPrompt(
const QString& prompt );
155 void setPixmap(
const QPixmap&);
159 QPixmap pixmap()
const;
178 void showErrorMessage(
const QString& message,
const ErrorType type = PasswordError );
189 void setUsername(
const QString&);
201 void setDomain(
const QString&);
214 void setAnonymousMode(
bool anonymous);
220 bool anonymousMode()
const;
231 bool keepPassword()
const;
241 void setKeepPassword(
bool b );
251 void setUsernameReadOnly(
bool readOnly );
257 void setPassword(
const QString& password );
279 void gotPassword(
const QString& password ,
bool keep );
287 void gotUsernameAndPassword(
const QString& username,
const QString& password ,
bool keep );
295 virtual bool checkPassword();
299 Q_PRIVATE_SLOT(d,
void actuallyAccept())
300 Q_PRIVATE_SLOT(d,
void activated( const
QString& userName ))
301 Q_PRIVATE_SLOT(d,
void updateFields())
304 class KPasswordDialogPrivate;
305 friend class KPasswordDialogPrivate;
306 KPasswordDialogPrivate* const d;
311 Q_DECLARE_OPERATORS_FOR_FLAGS(KPasswordDialog::KPasswordDialogFlags)
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Jul 12 2013 08:52:50 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.