Diffstat (limited to 'noncore/net/mail/newmaildir.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/newmaildir.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/net/mail/newmaildir.cpp b/noncore/net/mail/newmaildir.cpp index ab0d4e3..e6e9dc7 100644 --- a/noncore/net/mail/newmaildir.cpp +++ b/noncore/net/mail/newmaildir.cpp | |||
@@ -1,27 +1,25 @@ | |||
1 | #include "newmaildir.h" | 1 | #include "newmaildir.h" |
2 | #include <qdialog.h> | ||
3 | #include <qvariant.h> | ||
4 | #include <qlineedit.h> | 2 | #include <qlineedit.h> |
5 | #include <qcheckbox.h> | 3 | #include <qcheckbox.h> |
6 | 4 | ||
7 | Newmdirdlg::Newmdirdlg( QWidget* parent, const char* name,bool no_sub) | 5 | Newmdirdlg::Newmdirdlg( QWidget* parent, const char* name,bool no_sub) |
8 | : Newmdirdlgui(parent,name,true),ndir(""),possible_subs(false) | 6 | : Newmdirdlgui(parent,name,true),ndir(""),possible_subs(false) |
9 | { | 7 | { |
10 | if (no_sub) { | 8 | if (no_sub) { |
11 | subdirsPossibleBox->setChecked(false); | 9 | subdirsPossibleBox->setChecked(false); |
12 | subdirsPossibleBox->hide(); | 10 | subdirsPossibleBox->hide(); |
13 | } | 11 | } |
14 | } | 12 | } |
15 | 13 | ||
16 | Newmdirdlg::~Newmdirdlg() | 14 | Newmdirdlg::~Newmdirdlg() |
17 | { | 15 | { |
18 | } | 16 | } |
19 | 17 | ||
20 | void Newmdirdlg::accept() | 18 | void Newmdirdlg::accept() |
21 | { | 19 | { |
22 | ndir = dirnameEdit->text(); | 20 | ndir = dirnameEdit->text(); |
23 | possible_subs = subdirsPossibleBox->isChecked(); | 21 | possible_subs = subdirsPossibleBox->isChecked(); |
24 | if (ndir.isEmpty()) { | 22 | if (ndir.isEmpty()) { |
25 | return; | 23 | return; |
26 | } | 24 | } |
27 | Newmdirdlgui::accept(); | 25 | Newmdirdlgui::accept(); |