kmail Library API Documentation

kmfolderseldlg.h

00001 /* KMail Folder Selection Dialog 00002 * Pops up a small window with a list of folders and Ok/Cancel buttons. 00003 * Author: Stefan Taferner <taferner@kde.org> 00004 */ 00005 #ifndef kmfolderseldlg_h 00006 #define kmfolderseldlg_h 00007 00008 #include <kdialogbase.h> 00009 #include <klistview.h> 00010 #include <qvaluelist.h> 00011 #include <qguardedptr.h> 00012 00013 class KMFolder; 00014 class KMFolderTree; 00015 class KMMainWidget; 00016 00017 namespace KMail { 00018 00019 class SimpleFolderTree : public KListView 00020 { 00021 public: 00022 SimpleFolderTree( QWidget * parent, KMFolderTree * folderTree, 00023 const QString & preSelection, bool mustBeReadWrite ); 00024 00025 const KMFolder * folder() const; 00026 }; 00027 00028 } 00029 00030 //----------------------------------------------------------------------------- 00031 class KMFolderSelDlg: public KDialogBase 00032 { 00033 Q_OBJECT 00034 00035 public: 00040 KMFolderSelDlg( KMMainWidget * parent, const QString& caption, bool mustBeReadWrite ); 00041 virtual ~KMFolderSelDlg(); 00042 00044 virtual KMFolder* folder( void ); 00045 00046 protected slots: 00047 void slotSelect(); 00048 00049 protected: 00050 KMail::SimpleFolderTree * mTreeView; 00051 }; 00052 00053 #endif /*kmfolderseldlg_h*/
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 1 15:19:21 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003