kmail Library API Documentation

IdentityCombo Class Reference

A combo box that always shows the up-to-date identity list. More...

#include <identitycombo.h>

List of all members.

Public Slots

void slotIdentityManagerChanged ()

Signals

void identityChanged (const QString &identityName)
void identityChanged (uint uoid)

Public Member Functions

 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 Member Functions

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

void 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 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 109 of file identitycombo.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 26 23:23:25 2004 by doxygen 1.3.6-20040222 written by Dimitri van Heesch, © 1997-2003