kontact
kcmkmailsummary.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef KCMKMAILSUMMARY_H
00026 #define KCMKMAILSUMMARY_H
00027
00028 #include <kcmodule.h>
00029
00030 class QCheckBox;
00031 class QTreeWidget;
00032 class QTreeWidgetItem;
00033
00034 class KCMKMailSummary : public KCModule
00035 {
00036 Q_OBJECT
00037
00038 public:
00039 explicit KCMKMailSummary( const KComponentData &inst, QWidget *parent = 0 );
00040
00041 virtual void load();
00042 virtual void save();
00043 virtual void defaults();
00044
00045 private slots:
00046 void modified();
00047
00048 private:
00049 void initGUI();
00050 void initFolders();
00051 void loadFolders();
00052 void storeFolders();
00053
00054 QTreeWidget *mFolderView;
00055 QCheckBox *mFullPath;
00056 QMap<QString, QTreeWidgetItem*> mFolderMap;
00057 };
00058
00059 #endif