kopete/libkopete
kopetepassword.cpp
Go to the documentation of this file.
160 KopetePasswordGetRequestPrompt( QObject *owner, Kopete::Password &pass, const QPixmap &image, const QString &prompt, Kopete::Password::PasswordSource source )
161 : KopetePasswordGetRequest( owner, pass ), mImage( image ), mPrompt( prompt ), mSource( source ), mView( 0 )
178 KPasswordDialog *passwdDialog = new KPasswordDialog( Kopete::UI::Global::mainWidget(), KPasswordDialog::ShowKeepPassword );
274 KGuiItem( i18n( "Store &Unsafe" ), QString::fromLatin1( "unlock" ) ), KStandardGuiItem::cancel(),
421 void Kopete::Password::request( QObject *returnObj, const char *slot, const QPixmap &image, const QString &prompt, Kopete::Password::PasswordSource source )
423 KopetePasswordRequest *request = new KopetePasswordGetRequestPrompt( returnObj, *this, image, prompt, source );
virtual void gotPassword(const QString &, bool)=0
void set(const QString &pass=QString())
Set the password for this account.
Definition: kopetepassword.cpp:433
Password(const QString &configGroup, bool allowBlankPassword=false)
Create a new Kopete::Password object.
Definition: kopetepassword.cpp:327
PasswordSource
Type of password request to perform: FromConfigOrUser : get the password from the config file...
Definition: kopetepassword.h:98
void setWrong(bool bWrong=true)
Flag the password as being incorrect.
Definition: kopetepassword.cpp:405
bool isWrong()
Returns whether the password currently stored by this object is known to be incorrect.
Definition: kopetepassword.cpp:400
static int preferredImageSize()
Returns the preferred size for images passed to the retrieve and request functions.
Definition: kopetepassword.cpp:390
Definition: kopetepassword.h:98
static WalletManager * self()
Retrieve the wallet manager instance.
Definition: kopetewalletmanager.cpp:64
virtual void slotCancelPressed()=0
void requestWithoutPrompt(QObject *receiver, const char *slot)
Start an asynchronous password request without a prompt.
Definition: kopetepassword.cpp:413
void requestFinished(const QString &password)
This class is an implementation detail of KopetePassword.
Definition: kopetepassword.h:186
KOPETE_EXPORT QWidget * mainWidget()
Returns the main widget - this is the widget that message boxes and KNotify stuff should use as a par...
Definition: kopeteuiglobal.cpp:37
virtual void walletReceived(KWallet::Wallet *wallet)=0
Definition: kopetepassword.h:48
void request(QObject *receiver, const char *slot, const QPixmap &image, const QString &prompt, PasswordSource source=FromConfigOrUser)
Start an asynchronous call to get the password.
Definition: kopetepassword.cpp:421
Password & operator=(Password &other)
Assignment operator for passwords: make this object represent a different password.
Definition: kopetepassword.cpp:343
void openWallet(QObject *object, const char *slot)
Attempt to open the KWallet asyncronously, then signal an object to indicate the task is complete...
Definition: kopetewalletmanager.cpp:70
QString cachedValue()
When a password request succeeds, the password is cached.
Definition: kopetepassword.cpp:428
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:51 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:53:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.