kopete/libkopete
kopetepasswordedaccount.cpp
Go to the documentation of this file.
34 Kopete::PasswordedAccount::PasswordedAccount( Kopete::Protocol *parent, const QString &acctId, bool allowBlankPassword )
35 : Kopete::Account( parent, acctId ), d( new Private( QString::fromLatin1("Account_")+ parent->pluginId() + QString::fromLatin1("_") + acctId , allowBlankPassword ) )
67 Kopete::Password::PasswordSource src = password().isWrong() ? Kopete::Password::FromUser : Kopete::Password::FromConfigOrUser;
69 password().request( this, SLOT(connectWithPassword(QString)), accountIcon( Kopete::Password::preferredImageSize() ), prompt, src );
75 return i18n( "<qt><b>The password was wrong.</b> Please re-enter your password for %1 account <b>%2</b></qt>", protocol()->displayName(), accountId() );
77 return i18n( "<qt>Please enter your password for %1 account <b>%2</b></qt>", protocol()->displayName(), accountId() );
Definition: kopeteonlinestatus.h:68
virtual bool removeAccount()
Remove the account from the server.
Definition: kopetepasswordedaccount.cpp:85
connection failed because password was incorrect
Definition: kopeteaccount.h:97
PasswordSource
Type of password request to perform: FromConfigOrUser : get the password from the config file...
Definition: kopetepassword.h:98
connection failed because user name was invalid / unknown
Definition: kopeteaccount.h:98
virtual ~PasswordedAccount()
Definition: kopetepasswordedaccount.cpp:39
PasswordedAccount(Protocol *parent, const QString &acctId, bool allowBlankPassword=false)
KopetePasswordedAccount constructor.
Definition: kopetepasswordedaccount.cpp:34
static int preferredImageSize()
Returns the preferred size for images passed to the retrieve and request functions.
Definition: kopetepassword.cpp:390
Definition: kopetepassword.h:98
virtual void disconnected(Kopete::Account::DisconnectReason reason)
Definition: kopetepasswordedaccount.cpp:91
virtual void disconnected(Kopete::Account::DisconnectReason reason)
The service has been disconnected.
Definition: kopeteaccount.cpp:177
Refers to a true online state, i.e.
Definition: kopeteonlinestatus.h:129
Definition: kopetepassword.h:48
virtual QString passwordPrompt()
Returns the prompt shown to the user when requesting their password.
Definition: kopetepasswordedaccount.cpp:72
Password & password()
Returns a reference to the password object stored in this account.
Definition: kopetepasswordedaccount.cpp:44
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.