author | alwin <alwin> | 2004-02-19 13:42:40 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-02-19 13:42:40 (UTC) |
commit | c2eb77f6b8933b02bd8bd59ec7325da0bfc956cb (patch) (side-by-side diff) | |
tree | 41cd0ca977bcec1f8bc3ad44f128d73324724388 /noncore/net/mail/viewmail.cpp | |
parent | 51992ef09a92db868234936484fcc3aec0d2d4ad (diff) | |
download | opie-c2eb77f6b8933b02bd8bd59ec7325da0bfc956cb.zip opie-c2eb77f6b8933b02bd8bd59ec7325da0bfc956cb.tar.gz opie-c2eb77f6b8933b02bd8bd59ec7325da0bfc956cb.tar.bz2 |
use stuff from libopie2
ToDo: after merge pim-classes to opie2, do the same with it.
Diffstat (limited to 'noncore/net/mail/viewmail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/viewmail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/mail/viewmail.cpp b/noncore/net/mail/viewmail.cpp index 9ca6383..99965d4 100644 --- a/noncore/net/mail/viewmail.cpp +++ b/noncore/net/mail/viewmail.cpp @@ -6,13 +6,13 @@ #include <qfile.h> #include <qapplication.h> #include <qvaluelist.h> #include <qpe/config.h> -#include <opie/ofiledialog.h> +#include <opie2/ofiledialog.h> #include <libmailwrapper/settings.h> #include "composemail.h" #include "viewmail.h" #include <libmailwrapper/abstractmail.h> #include "accountview.h" @@ -195,13 +195,13 @@ void ViewMail::slotItemClicked( QListViewItem * item , const QPoint & point, int ret = menu->exec( point, 0 ); switch(ret) { case 0: { MimeTypes types; types.insert( "all", "*" ); - QString str = OFileDialog::getSaveFileName( 1, + QString str = Opie::OFileDialog::getSaveFileName( 1, "/", item->text( 2 ) , types, 0 ); if( !str.isEmpty() ) { encodedString*content = m_recMail.Wrapper()->fetchDecodedPart( m_recMail, m_body.Parts()[ ( ( AttachItem* )item )->Partnumber() ] ); if (content) { QFile output(str); |