IdentityCombo Class Reference
A combo box that always shows the up-to-date identity list. More...
#include <identitycombo.h>
Inheritance diagram for IdentityCombo:

Public Slots | |
void | slotIdentityManagerChanged () |
Signals | |
void | identityChanged (const QString &identityName) |
void | identityChanged (uint uoid) |
Public Methods | |
IdentityCombo (QWidget *parent=0, const char *name=0) | |
QString | currentIdentityName () const |
uint | currentIdentity () const |
void | setCurrentIdentity (const QString &identityName) |
void | setCurrentIdentity (const KMIdentity &identity) |
void | setCurrentIdentity (uint uoid) |
Protected Slots | |
void | slotEmitChanged (int) |
Protected Methods | |
void | reloadCombo () |
void | reloadUoidList () |
Protected Attributes | |
QValueList< uint > | mUoidList |
Detailed Description
A combo box that always shows the up-to-date identity list.
- Author:
- Marc Mutz <mutz@kde.org>
Definition at line 46 of file identitycombo.h.
Member Function Documentation
|
|
|
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. |
|
Connected to IdentityManager::changed(). Reloads the list of identities. Definition at line 109 of file identitycombo.cpp. References QComboBox::currentItem(), QValueList< uint >::findIndex(), and QComboBox::setCurrentItem(). |
The documentation for this class was generated from the following files: