kmail
configuredialog.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _CONFIGURE_DIALOG_H_
00023 #define _CONFIGURE_DIALOG_H_
00024
00025 #include <tqguardedptr.h>
00026 #include <kcmultidialog.h>
00027
00028 class KConfig;
00029 class ProfileDialog;
00030 namespace KMail {
00031 class ImapAccountBase;
00032 }
00033
00034 class ConfigureDialog : public KCMultiDialog
00035 {
00036 Q_OBJECT
00037 TQ_OBJECT
00038
00039 public:
00040 ConfigureDialog( TQWidget *parent=0, const char *name=0, bool modal=true );
00041 ~ConfigureDialog();
00042
00043 signals:
00051 void installProfile( KConfig *profile );
00052 void configChanged();
00053 protected:
00054 void hideEvent( TQHideEvent *i );
00055 protected slots:
00059 void slotApply();
00060
00064 void slotOk();
00065
00069 void slotUser2();
00070
00071 private:
00072 TQGuardedPtr<ProfileDialog> mProfileDialog;
00073 };
00074
00080 class AccountUpdater : public TQObject {
00081 Q_OBJECT
00082 TQ_OBJECT
00083 public:
00084 AccountUpdater(KMail::ImapAccountBase *account);
00085 void update();
00086 public slots:
00087 void namespacesFetched();
00088 private:
00089 KMail::ImapAccountBase *mAccount;
00090 };
00091
00092
00093 #endif
|