author | tille <tille> | 2002-06-19 12:41:33 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-19 12:41:33 (UTC) |
commit | 2bcd7302e4e156ad5f389b23c01a690917abee01 (patch) (unidiff) | |
tree | 25770523cbb36e7152f8a3a4c1650afab6fc45da | |
parent | b55f69a46fd27ce26235029f702c0f3942fde68c (diff) | |
download | opie-2bcd7302e4e156ad5f389b23c01a690917abee01.zip opie-2bcd7302e4e156ad5f389b23c01a690917abee01.tar.gz opie-2bcd7302e4e156ad5f389b23c01a690917abee01.tar.bz2 |
added ofiledialog for attachments, but did not yet remove attachdiag
-rw-r--r-- | noncore/unsupported/mail2/composer.cpp | 7 | ||||
-rw-r--r-- | noncore/unsupported/mail2/mail.pro | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/noncore/unsupported/mail2/composer.cpp b/noncore/unsupported/mail2/composer.cpp index 72a7242..03dacae 100644 --- a/noncore/unsupported/mail2/composer.cpp +++ b/noncore/unsupported/mail2/composer.cpp | |||
@@ -10,12 +10,14 @@ | |||
10 | 10 | ||
11 | #include <qpe/resource.h> | 11 | #include <qpe/resource.h> |
12 | #include <qpe/config.h> | 12 | #include <qpe/config.h> |
13 | 13 | ||
14 | #include <opie/ofiledialog.h> | ||
15 | //#include "attachdiag.h" | ||
16 | |||
14 | #include "addresspicker.h" | 17 | #include "addresspicker.h" |
15 | #include "listviewplus.h" | 18 | #include "listviewplus.h" |
16 | #include "smtphandler.h" | 19 | #include "smtphandler.h" |
17 | #include "attachdiag.h" | ||
18 | #include "composer.h" | 20 | #include "composer.h" |
19 | #include "rename.h" | 21 | #include "rename.h" |
20 | 22 | ||
21 | AttachViewItem::AttachViewItem(QListView *parent, Attachment &attachment) | 23 | AttachViewItem::AttachViewItem(QListView *parent, Attachment &attachment) |
@@ -393,9 +395,10 @@ void Composer::slotOpenAddressPicker() | |||
393 | } | 395 | } |
394 | 396 | ||
395 | void Composer::slotAddAttach() | 397 | void Composer::slotAddAttach() |
396 | { | 398 | { |
397 | DocLnk lnk = AttachDiag::getFile(this); | 399 | DocLnk lnk = OFileDialog::getOpenFileName( 1,"/"); |
400 | //DocLnk lnk = AttachDiag::getFile(this); | ||
398 | if (lnk.name().isEmpty()) return; | 401 | if (lnk.name().isEmpty()) return; |
399 | 402 | ||
400 | Attachment attachment; | 403 | Attachment attachment; |
401 | attachment.setFileName(lnk.file()); | 404 | attachment.setFileName(lnk.file()); |
diff --git a/noncore/unsupported/mail2/mail.pro b/noncore/unsupported/mail2/mail.pro index 76b7996..cd21d4a 100644 --- a/noncore/unsupported/mail2/mail.pro +++ b/noncore/unsupported/mail2/mail.pro | |||
@@ -40,7 +40,7 @@ INTERFACES = accounteditorbase.ui \ | |||
40 | opendiagbase.ui \ | 40 | opendiagbase.ui \ |
41 | renamebase.ui \ | 41 | renamebase.ui \ |
42 | searchdiagbase.ui | 42 | searchdiagbase.ui |
43 | INCLUDEPATH += $(OPIEDIR)/include libmail | 43 | INCLUDEPATH += $(OPIEDIR)/include libmail |
44 | LIBS += -lmail -lqpe | 44 | LIBS += -lmail -lqpe -lopie |
45 | TARGET = mail | 45 | TARGET = mail |
46 | DESTDIR = $(OPIEDIR)/bin | 46 | DESTDIR = $(OPIEDIR)/bin |