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, QString & preSelection );
00023       
00024       const KMFolder * folder() const;
00025   };
00026 
00027 }
00028 
00029 //-----------------------------------------------------------------------------
00030 class KMFolderSelDlg: public KDialogBase
00031 {
00032   Q_OBJECT
00033 
00034 public:
00037   KMFolderSelDlg( KMMainWidget * parent, const QString& caption );
00038   virtual ~KMFolderSelDlg();
00039 
00041   virtual KMFolder* folder( void );
00042 
00043 protected slots:
00044   void slotSelect();
00045 
00046 protected:
00047   KMail::SimpleFolderTree * mTreeView;
00048 
00049   static QString oldSelection;
00050 };
00051 
00052 #endif /*kmfolderseldlg_h*/
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:37:28 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003