author | harlekin <harlekin> | 2003-12-09 23:51:22 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-12-09 23:51:22 (UTC) |
commit | e8ca3ebcf4cf356497670a455f43e08a16c0f2aa (patch) (side-by-side diff) | |
tree | 0fa7ad39387559a527bee58d24cbc4ac50a35e23 /noncore/net/mail/composemail.cpp | |
parent | c361d36374d9c333ffe4b853067858df5636e1a5 (diff) | |
download | opie-e8ca3ebcf4cf356497670a455f43e08a16c0f2aa.zip opie-e8ca3ebcf4cf356497670a455f43e08a16c0f2aa.tar.gz opie-e8ca3ebcf4cf356497670a455f43e08a16c0f2aa.tar.bz2 |
more updated to the mail viewer
Diffstat (limited to 'noncore/net/mail/composemail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/composemail.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp index 88dd780..96787e4 100644 --- a/noncore/net/mail/composemail.cpp +++ b/noncore/net/mail/composemail.cpp @@ -11,6 +11,6 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m settings = s; - + attList->addColumn( tr( "Name" ) ); attList->addColumn( tr( "Size" ) ); - + QList<Account> accounts = settings->getAccounts(); @@ -28,3 +28,3 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m } else { - QMessageBox::information( this, tr( "Problem" ), + QMessageBox::information( this, tr( "Problem" ), tr( "<p>Please create an SMTP account first.</p>" ), @@ -52,2 +52,3 @@ void ComposeMail::pickAddress( QLineEdit *line ) + void ComposeMail::pickAddressTo() @@ -95,3 +96,3 @@ void ComposeMail::slotAdjustColumns() int currPage = tabWidget->currentPageIndex(); - + tabWidget->showPage( attachTab ); @@ -115,3 +116,3 @@ void ComposeMail::removeAttachment() if ( !attList->currentItem() ) { - QMessageBox::information( this, tr( "Error" ), + QMessageBox::information( this, tr( "Error" ), tr( "<p>Please select a File.</p>" ), @@ -125,3 +126,3 @@ void ComposeMail::accept() { - qDebug( "Sending Mail with " + + qDebug( "Sending Mail with " + smtpAccounts.at( fromBox->currentItem() )->getAccountName() ); @@ -166,4 +167,4 @@ AttachViewItem::AttachViewItem( QListView *parent, Attachment *att ) qDebug( att->getMimeType() ); - setPixmap( 0, attachment->getDocLnk().pixmap().isNull() ? - Resource::loadPixmap( "UnknownDocument-14" ) : + setPixmap( 0, attachment->getDocLnk().pixmap().isNull() ? + Resource::loadPixmap( "UnknownDocument-14" ) : attachment->getDocLnk().pixmap() ); |