Diffstat (limited to 'noncore/net/mail/composemail.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/composemail.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp index 154c1d5..9d04de3 100644 --- a/noncore/net/mail/composemail.cpp +++ b/noncore/net/mail/composemail.cpp | |||
@@ -9,17 +9,16 @@ | |||
9 | /* OPIE */ | 9 | /* OPIE */ |
10 | #include <opie2/ofiledialog.h> | 10 | #include <opie2/ofiledialog.h> |
11 | #include <opie2/odebug.h> | 11 | #include <opie2/odebug.h> |
12 | #include <qpe/resource.h> | 12 | #include <opie2/oresource.h> |
13 | #include <qpe/config.h> | 13 | #include <qpe/config.h> |
14 | #include <qpe/global.h> | 14 | #include <qpe/global.h> |
15 | #include <qpe/contact.h> | 15 | #include <qpe/contact.h> |
16 | using namespace Opie::Core; | ||
17 | using namespace Opie::Ui; | ||
16 | 18 | ||
17 | /* QT */ | 19 | /* QT */ |
18 | #include <qt.h> | 20 | #include <qt.h> |
19 | 21 | ||
20 | |||
21 | using namespace Opie::Core; | ||
22 | using namespace Opie::Ui; | ||
23 | ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool modal, WFlags flags ) | 22 | ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool modal, WFlags flags ) |
24 | : ComposeMailUI( parent, name, modal, flags ) | 23 | : ComposeMailUI( parent, name, modal, flags ) |
25 | { | 24 | { |
@@ -299,7 +298,7 @@ AttachViewItem::AttachViewItem( QListView *parent, Attachment *att ) | |||
299 | attachment = att; | 298 | attachment = att; |
300 | odebug << att->getMimeType() << oendl; | 299 | odebug << att->getMimeType() << oendl; |
301 | setPixmap( 0, attachment->getDocLnk().pixmap().isNull() ? | 300 | setPixmap( 0, attachment->getDocLnk().pixmap().isNull() ? |
302 | Resource::loadPixmap( "UnknownDocument-14" ) : | 301 | OResource::loadPixmap( "UnknownDocument", OResource::SmallIcon ) : |
303 | attachment->getDocLnk().pixmap() ); | 302 | attachment->getDocLnk().pixmap() ); |
304 | setText( 0, att->getName().isEmpty() ? att->getFileName() : att->getName() ); | 303 | setText( 0, att->getName().isEmpty() ? att->getFileName() : att->getName() ); |
305 | setText( 1, QString::number( att->getSize() ) ); | 304 | setText( 1, QString::number( att->getSize() ) ); |