accountcombobox.h
00001
00028 #ifndef KMAIL_ACCOUNTCOMBOBOX_H
00029 #define KMAIL_ACCOUNTCOMBOBOX_H
00030
00031 #include <qcombobox.h>
00032
00033 class KMAccount;
00034
00035 namespace KMail {
00036
00042 class AccountComboBox : public QComboBox
00043 {
00044 Q_OBJECT
00045
00046 public:
00047 AccountComboBox( QWidget* parent, const char* name = 0 );
00048
00049 void setCurrentAccount( KMAccount* account );
00050 KMAccount* currentAccount() const;
00051
00052 private slots:
00053 void slotRefreshAccounts();
00054 private:
00055 QValueList<KMAccount *> applicableAccounts() const;
00056 };
00057
00058
00059 }
00060
00061 #endif
This file is part of the documentation for kmail Library Version 3.3.2.