author | alwin <alwin> | 2003-12-27 18:23:23 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-27 18:23:23 (UTC) |
commit | 7812187f6732eef351e501d993aa664b7e351cbb (patch) (unidiff) | |
tree | fe2ed5fc0d8c67983956ecf543a54d2e6355a627 /noncore/net/mail/newmaildir.cpp | |
parent | 583f9d5f33fa055fe8ee612f344d06faae1ef330 (diff) | |
download | opie-7812187f6732eef351e501d993aa664b7e351cbb.zip opie-7812187f6732eef351e501d993aa664b7e351cbb.tar.gz opie-7812187f6732eef351e501d993aa664b7e351cbb.tar.bz2 |
folder handling for imap mostly impelemented, context menus for
imap-mail-folders implemented.
Diffstat (limited to 'noncore/net/mail/newmaildir.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/newmaildir.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/noncore/net/mail/newmaildir.cpp b/noncore/net/mail/newmaildir.cpp new file mode 100644 index 0000000..3fc66f4 --- a/dev/null +++ b/noncore/net/mail/newmaildir.cpp | |||
@@ -0,0 +1,34 @@ | |||
1 | #include "newmaildir.h" | ||
2 | #include <qdialog.h> | ||
3 | #include <qvariant.h> | ||
4 | #include <qlineedit.h> | ||
5 | #include <qcheckbox.h> | ||
6 | |||
7 | Newmdirdlg::Newmdirdlg( QWidget* parent, const char* name) | ||
8 | : Newmdirdlgui(parent,name,true),ndir(""),possible_subs(false) | ||
9 | { | ||
10 | } | ||
11 | |||
12 | Newmdirdlg::~Newmdirdlg() | ||
13 | { | ||
14 | } | ||
15 | |||
16 | void Newmdirdlg::accept() | ||
17 | { | ||
18 | ndir = dirnameEdit->text(); | ||
19 | possible_subs = subdirsPossibleBox->isChecked(); | ||
20 | if (ndir.isEmpty()) { | ||
21 | return; | ||
22 | } | ||
23 | Newmdirdlgui::accept(); | ||
24 | } | ||
25 | |||
26 | const QString&Newmdirdlg::Newdir()const | ||
27 | { | ||
28 | return ndir; | ||
29 | } | ||
30 | |||
31 | const bool Newmdirdlg::subpossible()const | ||
32 | { | ||
33 | return possible_subs; | ||
34 | } | ||