From 0f7217afa7cdcb108dd2afba0ff6b42c97ab6f44 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 14 Mar 2004 13:22:42 +0000 Subject: Convert net to ODP and QtAUX --- (limited to 'noncore/net/mail/composemail.cpp') diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp index 74ccc7b..5bc2883 100644 --- a/noncore/net/mail/composemail.cpp +++ b/noncore/net/mail/composemail.cpp @@ -13,6 +13,8 @@ #include #include +using namespace Opie::Core; +using namespace Opie::Ui; ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool modal, WFlags flags ) : ComposeMailUI( parent, name, modal, flags ) { @@ -160,7 +162,7 @@ void ComposeMail::slotAdjustColumns() void ComposeMail::addAttachment() { - DocLnk lnk = Opie::OFileDialog::getOpenFileName( 1, "/" ); + DocLnk lnk = OFileDialog::getOpenFileName( 1, "/" ); if ( !lnk.name().isEmpty() ) { Attachment *att = new Attachment( lnk ); (void) new AttachViewItem( attList, att ); @@ -188,7 +190,7 @@ void ComposeMail::accept() qDebug( "Sending Mail with " + smtpAccounts.at( smtpAccountBox->currentItem() )->getAccountName() ); #endif - Opie::OSmartPointer mail=new Mail; + Opie::Core::OSmartPointer mail=new Mail; SMTPaccount *smtp = smtpAccounts.at( smtpAccountBox->currentItem() ); mail->setMail(fromBox->currentText()); @@ -236,7 +238,7 @@ void ComposeMail::reject() tr("No"),QString::null,0,1); if (yesno == 0) { - Opie::OSmartPointer mail=new Mail(); + Opie::Core::OSmartPointer mail=new Mail(); mail->setMail(fromBox->currentText()); mail->setTo( toLine->text() ); mail->setName(senderNameEdit->text()); -- cgit v0.9.0.2