author | alwin <alwin> | 2003-12-28 02:45:07 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-28 02:45:07 (UTC) |
commit | d1a7eb08cad465c5fc0de53f75aaecf7803f0945 (patch) (unidiff) | |
tree | 422b73af760cdd44e4fbbc96bd6876a15939ff19 /noncore/net/mail/newmaildir.cpp | |
parent | e889485e945d8fa9564566f286114be10d2a1ce5 (diff) | |
download | opie-d1a7eb08cad465c5fc0de53f75aaecf7803f0945.zip opie-d1a7eb08cad465c5fc0de53f75aaecf7803f0945.tar.gz opie-d1a7eb08cad465c5fc0de53f75aaecf7803f0945.tar.bz2 |
- dir handling for mbox accounts (delete, new, delete all mail)
- fixed memory leaks in mbox account class
- reduced count of used string constants while using "tr" with context string
- mbox displays messages into global status bar
- fixed a possible raise condition when deleting a mail directory
Diffstat (limited to 'noncore/net/mail/newmaildir.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/newmaildir.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/net/mail/newmaildir.cpp b/noncore/net/mail/newmaildir.cpp index 3fc66f4..ab0d4e3 100644 --- a/noncore/net/mail/newmaildir.cpp +++ b/noncore/net/mail/newmaildir.cpp | |||
@@ -1,21 +1,25 @@ | |||
1 | #include "newmaildir.h" | 1 | #include "newmaildir.h" |
2 | #include <qdialog.h> | 2 | #include <qdialog.h> |
3 | #include <qvariant.h> | 3 | #include <qvariant.h> |
4 | #include <qlineedit.h> | 4 | #include <qlineedit.h> |
5 | #include <qcheckbox.h> | 5 | #include <qcheckbox.h> |
6 | 6 | ||
7 | Newmdirdlg::Newmdirdlg( QWidget* parent, const char* name) | 7 | Newmdirdlg::Newmdirdlg( QWidget* parent, const char* name,bool no_sub) |
8 | : Newmdirdlgui(parent,name,true),ndir(""),possible_subs(false) | 8 | : Newmdirdlgui(parent,name,true),ndir(""),possible_subs(false) |
9 | { | 9 | { |
10 | if (no_sub) { | ||
11 | subdirsPossibleBox->setChecked(false); | ||
12 | subdirsPossibleBox->hide(); | ||
13 | } | ||
10 | } | 14 | } |
11 | 15 | ||
12 | Newmdirdlg::~Newmdirdlg() | 16 | Newmdirdlg::~Newmdirdlg() |
13 | { | 17 | { |
14 | } | 18 | } |
15 | 19 | ||
16 | void Newmdirdlg::accept() | 20 | void Newmdirdlg::accept() |
17 | { | 21 | { |
18 | ndir = dirnameEdit->text(); | 22 | ndir = dirnameEdit->text(); |
19 | possible_subs = subdirsPossibleBox->isChecked(); | 23 | possible_subs = subdirsPossibleBox->isChecked(); |
20 | if (ndir.isEmpty()) { | 24 | if (ndir.isEmpty()) { |
21 | return; | 25 | return; |