kmail

newfolderdialog.h
1/*******************************************************************************
2**
3** Filename : newfolderdialog.h
4** Created on : 30 January, 2005
5** Copyright : (c) 2005 Till Adam
6** Email : adam@kde.org
7**
8*******************************************************************************/
9
10/*******************************************************************************
11**
12** This program is free software; you can redistribute it and/or modify
13** it under the terms of the GNU General Public License as published by
14** the Free Software Foundation; either version 2 of the License, or
15** (at your option) any later version.
16**
17** In addition, as a special exception, the copyright holders give
18** permission to link the code of this program with any edition of
19** the TQt library by Trolltech AS, Norway (or with modified versions
20** of TQt that use the same license as TQt), and distribute linked
21** combinations including the two. You must obey the GNU General
22** Public License in all respects for all of the code used other than
23** TQt. If you modify this file, you may extend this exception to
24** your version of the file, but you are not obligated to do so. If
25** you do not wish to do so, delete this exception statement from
26** your version.
27*******************************************************************************/
28
29#ifndef NEW_FOLDER_DIALOG_H
30#define NEW_FOLDER_DIALOG_H
31
32#include <tqvariant.h>
33#include <tqdialog.h>
34#include <kdialogbase.h>
35
36class TQVBoxLayout;
37class TQHBoxLayout;
38class TQGridLayout;
39class TQSpacerItem;
40class TQLabel;
41class TQLineEdit;
42class TQComboBox;
43class KMFolder;
44
45namespace KMail {
46
47class NewFolderDialog : public KDialogBase
48{
49 TQ_OBJECT
50
51
52 public:
53 NewFolderDialog( TQWidget* parent = 0, KMFolder *folder = 0 );
54 ~NewFolderDialog() {};
55
56 TQLabel* mNameLabel;
57 TQLineEdit* mNameLineEdit;
58 TQLabel* mMailboxFormatLabel;
59 TQComboBox* mFormatComboBox;
60 TQLabel* mContentsLabel;
61 TQComboBox* mContentsComboBox;
62 TQLabel* mNamespacesLabel;
63 TQComboBox* mNamespacesComboBox;
64
65 protected:
66 TQVBoxLayout* mTopLevelLayout;
67 TQHBoxLayout* mNameHBox;
68 TQHBoxLayout* mFormatHBox;
69 TQHBoxLayout* mContentsHBox;
70 TQHBoxLayout* mNamespacesHBox;
71 protected slots:
72 void slotOk();
73 void slotFolderNameChanged( const TQString & _text);
74
75 private:
76 KMFolder* mFolder;
77};
78
79} // namespace
80#endif // NEW_FOLDER_DIALOG_H
Mail folder.
Definition: kmfolder.h:69
folderdiaquotatab.h
Definition: aboutdata.cpp:40