libkpimidentities
KPIM::IdentityCombo Class Reference
#include <identitycombo.h>
Detailed Description
A combo box that always shows the up-to-date identity list.
Definition at line 51 of file identitycombo.h.
Public Slots | |
void | slotIdentityManagerChanged () |
Signals | |
void | identityChanged (const QString &identityName) |
void | identityChanged (uint uoid) |
Public Member Functions | |
IdentityCombo (IdentityManager *manager, QWidget *parent=0, const char *name=0) | |
QString | currentIdentityName () const |
uint | currentIdentity () const |
void | setCurrentIdentity (const QString &identityName) |
void | setCurrentIdentity (const Identity &identity) |
void | setCurrentIdentity (uint uoid) |
Protected Slots | |
void | slotEmitChanged (int) |
Protected Member Functions | |
void | reloadCombo () |
void | reloadUoidList () |
Protected Attributes | |
QValueList< uint > | mUoidList |
IdentityManager * | mIdentityManager |
Member Function Documentation
void KPIM::IdentityCombo::identityChanged | ( | const QString & | identityName | ) | [signal] |
- Deprecated:
- Really emitted whenever the current identity changes. Either by user intervention or on setCurrentIdentity() or if the current identity disappears.
void KPIM::IdentityCombo::identityChanged | ( | uint | uoid | ) | [signal] |
Really emitted whenever the current identity changes.
Either by user intervention or on setCurrentIdentity() or if the current identity disappears.
You might also want to listen to IdentityManager::changed, IdentityManager::deleted and IdentityManager::added.
void IdentityCombo::slotIdentityManagerChanged | ( | ) | [slot] |
Connected to IdentityManager::changed().
Reloads the list of identities.
Definition at line 108 of file identitycombo.cpp.
The documentation for this class was generated from the following files: