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
00026
00027
00028
00029 #ifndef NEW_FOLDER_DIALOG_H
00030 #define NEW_FOLDER_DIALOG_H
00031
00032 #include <tqvariant.h>
00033 #include <tqdialog.h>
00034 #include <kdialogbase.h>
00035
00036 class TQVBoxLayout;
00037 class TQHBoxLayout;
00038 class TQGridLayout;
00039 class TQSpacerItem;
00040 class TQLabel;
00041 class TQLineEdit;
00042 class TQComboBox;
00043 class KMFolder;
00044
00045 namespace KMail {
00046
00047 class NewFolderDialog : public KDialogBase
00048 {
00049 Q_OBJECT
00050
00051
00052 public:
00053 NewFolderDialog( TQWidget* parent = 0, KMFolder *folder = 0 );
00054 ~NewFolderDialog() {};
00055
00056 TQLabel* mNameLabel;
00057 TQLineEdit* mNameLineEdit;
00058 TQLabel* mMailboxFormatLabel;
00059 TQComboBox* mFormatComboBox;
00060 TQLabel* mContentsLabel;
00061 TQComboBox* mContentsComboBox;
00062 TQLabel* mNamespacesLabel;
00063 TQComboBox* mNamespacesComboBox;
00064
00065 protected:
00066 TQVBoxLayout* mTopLevelLayout;
00067 TQHBoxLayout* mNameHBox;
00068 TQHBoxLayout* mFormatHBox;
00069 TQHBoxLayout* mContentsHBox;
00070 TQHBoxLayout* mNamespacesHBox;
00071 protected slots:
00072 void slotOk();
00073 void slotFolderNameChanged( const TQString & _text);
00074
00075 private:
00076 KMFolder* mFolder;
00077 };
00078
00079 }
00080 #endif // NEW_FOLDER_DIALOG_H