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() ); |