kmail
newfolderdialog.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef NEW_FOLDER_DIALOG_H
00030 #define NEW_FOLDER_DIALOG_H
00031
00032 #include <qvariant.h>
00033 #include <qdialog.h>
00034 #include <kdialogbase.h>
00035
00036 class QVBoxLayout;
00037 class QHBoxLayout;
00038 class QGridLayout;
00039 class QSpacerItem;
00040 class QLabel;
00041 class QLineEdit;
00042 class QComboBox;
00043 class KMFolder;
00044
00045 namespace KMail {
00046
00047 class NewFolderDialog : public KDialogBase
00048 {
00049 Q_OBJECT
00050
00051 public:
00052 NewFolderDialog( QWidget* parent = 0, KMFolder *folder = 0 );
00053 ~NewFolderDialog() {};
00054
00055 QLabel* mNameLabel;
00056 QLineEdit* mNameLineEdit;
00057 QLabel* mMailboxFormatLabel;
00058 QComboBox* mFormatComboBox;
00059 QLabel* mContentsLabel;
00060 QComboBox* mContentsComboBox;
00061 QLabel* mNamespacesLabel;
00062 QComboBox* mNamespacesComboBox;
00063
00064 protected:
00065 QVBoxLayout* mTopLevelLayout;
00066 QHBoxLayout* mNameHBox;
00067 QHBoxLayout* mFormatHBox;
00068 QHBoxLayout* mContentsHBox;
00069 QHBoxLayout* mNamespacesHBox;
00070 protected slots:
00071 void slotOk();
00072 void slotFolderNameChanged( const QString & _text);
00073
00074 private:
00075 KMFolder* mFolder;
00076 };
00077
00078 }
00079 #endif // NEW_FOLDER_DIALOG_H
|