kopete/libkopete
#include <kopetewalletmanager.h>
Public Slots | |
void | closeWallet () |
Signals | |
void | walletLost () |
Public Member Functions | |
~WalletManager () | |
void | openWallet (QObject *object, const char *slot) |
Static Public Member Functions | |
static WalletManager * | self () |
Detailed Description
The Kopete::WalletManager class is a singleton, which looks after Kopete's KWallet connection.
Definition at line 37 of file kopetewalletmanager.h.
Constructor & Destructor Documentation
Kopete::WalletManager::~WalletManager | ( | ) |
Definition at line 58 of file kopetewalletmanager.cpp.
Member Function Documentation
|
slot |
Close the connection to the wallet.
Will cause walletLost() to be emitted.
Definition at line 171 of file kopetewalletmanager.cpp.
void Kopete::WalletManager::openWallet | ( | QObject * | object, |
const char * | slot | ||
) |
Attempt to open the KWallet asyncronously, then signal an object to indicate the task is complete.
- Parameters
-
object The object to call back to slot The slot on object to call; must have signature slot( KWallet::Wallet* ) The parameter to the slot will be the wallet that was opened if the call succeeded, or NULL if the wallet failed to open or the Kopete folder was inaccessible.
For simplicity of client code, it is guaranteed that your slot will not be called during a call to this function.
Definition at line 70 of file kopetewalletmanager.cpp.
|
static |
Retrieve the wallet manager instance.
Definition at line 64 of file kopetewalletmanager.cpp.
|
signal |
Emitted when the connection to the wallet is lost.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.