identitycombo.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef _KMAIL_IDENTITYCOMBO_H_
00033 #define _KMAIL_IDENTITYCOMBO_H_
00034
00035 #include <qcombobox.h>
00036 #include <qvaluelist.h>
00037
00038 class KMIdentity;
00039 class QString;
00040
00046 class IdentityCombo : public QComboBox {
00047 Q_OBJECT
00048 public:
00049 IdentityCombo( QWidget * parent=0, const char * name=0 );
00050
00051 QString currentIdentityName() const;
00052 uint currentIdentity() const;
00053 void setCurrentIdentity( const QString & identityName );
00054 void setCurrentIdentity( const KMIdentity & identity );
00055 void setCurrentIdentity( uint uoid );
00056
00057 signals:
00063 void identityChanged( const QString & identityName );
00064
00072 void identityChanged( uint uoid );
00073
00074 public slots:
00078 void slotIdentityManagerChanged();
00079
00080 protected slots:
00081 void slotEmitChanged(int);
00082
00083 protected:
00084 void reloadCombo();
00085 void reloadUoidList();
00086
00087 protected:
00088 QValueList<uint> mUoidList;
00089 };
00090
00091
00092
00093 #endif // _KMAIL_IDENTITYCOMBO_H_
This file is part of the documentation for kmail Library Version 3.2.2.