kmail

kmfolderseldlg.h
1 /* KMail Folder Selection Dialog
2  * Pops up a small window with a list of folders and Ok/Cancel buttons.
3  * Author: Stefan Taferner <taferner@kde.org>
4  * Carsten Burghardt <burghardt@kde.org>
5  */
6 #ifndef kmfolderseldlg_h
7 #define kmfolderseldlg_h
8 
9 #include <kdialogbase.h>
10 #include <simplefoldertree.h>
11 #include <tqvaluelist.h>
12 #include <tqguardedptr.h>
13 
14 class KMFolder;
15 class KMFolderTree;
16 class KMMainWidget;
17 class SimpleFolderTree;
18 
19 namespace KMail {
20  //-----------------------------------------------------------------------------
21  class KMFolderSelDlg: public KDialogBase
22  {
23  TQ_OBJECT
24 
25 
26  public:
35  KMFolderSelDlg( KMMainWidget * parent, const TQString& caption,
36  bool mustBeReadWrite, bool useGlobalSettings = true );
43  KMFolderSelDlg( TQWidget * parent, KMFolderTree * tree,
44  const TQString& caption, bool mustBeReadWrite,
45  bool useGlobalSettings = true );
46 
47  virtual ~KMFolderSelDlg();
48 
50  virtual KMFolder* folder( void );
51 
53  void setFolder( KMFolder* folder );
54 
56  void setFlags( bool mustBeReadWrite, bool showOutbox, bool showImapFolders );
57 
58  protected slots:
59  void slotSelect();
60  void slotUser1();
61  void slotUpdateBtnStatus();
62 
63  protected:
64  void readConfig();
65  void writeConfig();
67  void init();
68 
69  SimpleFolderTree * mTreeView;
70  bool mUseGlobalSettings;
71  };
72 
73 } // namespace KMail
74 
75 #endif /*kmfolderseldlg_h*/
Mail folder.
Definition: kmfolder.h:69
folderdiaquotatab.h
Definition: aboutdata.cpp:40