libkpimidentities
KPIM::IdentityCombo Class Reference
A combo box that always shows the up-to-date identity list. More...
#include <identitycombo.h>
Inherits TQComboBox.
Public Slots | |
void | slotIdentityManagerChanged () |
Signals | |
void | identityChanged (const TQString &identityName) |
void | identityChanged (uint uoid) |
Public Member Functions | |
IdentityCombo (IdentityManager *manager, TQWidget *parent=0, const char *name=0) | |
TQString | currentIdentityName () const |
uint | currentIdentity () const |
void | setCurrentIdentity (const TQString &identityName) |
void | setCurrentIdentity (const Identity &identity) |
void | setCurrentIdentity (uint uoid) |
Protected Slots | |
void | slotEmitChanged (int) |
Protected Member Functions | |
void | reloadCombo () |
void | reloadUoidList () |
Protected Attributes | |
TQValueList< uint > | mUoidList |
IdentityManager * | mIdentityManager |
Detailed Description
A combo box that always shows the up-to-date identity list.
Definition at line 51 of file identitycombo.h.
Member Function Documentation
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 KPIM::IdentityCombo::identityChanged | ( | const TQString & | identityName | ) | [signal] |
- Deprecated:
- Really emitted whenever the current identity changes. Either by user intervention or on setCurrentIdentity() or if the current identity disappears.
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: