kmail Library API Documentation

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 } // namespace
00060 
00061 #endif
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jul 25 11:19:49 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003