From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/mailserviceimpl.cpp | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'kmail/mailserviceimpl.cpp') diff --git a/kmail/mailserviceimpl.cpp b/kmail/mailserviceimpl.cpp index 6d82f5a4..e7337e81 100644 --- a/kmail/mailserviceimpl.cpp +++ b/kmail/mailserviceimpl.cpp @@ -42,7 +42,7 @@ #include #include #include -#include +#include namespace KMail { @@ -52,9 +52,9 @@ MailServiceImpl::MailServiceImpl() { } -bool MailServiceImpl::sendMessage( const QString& from, const QString& to, - const QString& cc, const QString& bcc, - const QString& subject, const QString& body, +bool MailServiceImpl::sendMessage( const TQString& from, const TQString& to, + const TQString& cc, const TQString& bcc, + const TQString& subject, const TQString& body, const KURL::List& attachments ) { if ( to.isEmpty() && cc.isEmpty() && bcc.isEmpty() ) @@ -79,21 +79,21 @@ bool MailServiceImpl::sendMessage( const QString& from, const QString& to, return true; } -bool MailServiceImpl::sendMessage( const QString& to, - const QString& cc, const QString& bcc, - const QString& subject, const QString& body, +bool MailServiceImpl::sendMessage( const TQString& to, + const TQString& cc, const TQString& bcc, + const TQString& subject, const TQString& body, const KURL::List& attachments ) { - kdDebug(5006) << "DCOP call MailTransportServiceIface bool sendMessage(QString to,QString cc,QString bcc,QString subject,QString body,KURL::List attachments)" << endl; - kdDebug(5006) << "This DCOP call is deprecated. Use the corresponding DCOP call with the additional parameter QString from instead." << endl; - return sendMessage( QString::null, to, cc, bcc, subject, body, attachments ); + kdDebug(5006) << "DCOP call MailTransportServiceIface bool sendMessage(TQString to,TQString cc,TQString bcc,TQString subject,TQString body,KURL::List attachments)" << endl; + kdDebug(5006) << "This DCOP call is deprecated. Use the corresponding DCOP call with the additional parameter TQString from instead." << endl; + return sendMessage( TQString::null, to, cc, bcc, subject, body, attachments ); } -bool MailServiceImpl::sendMessage( const QString& from, const QString& to, - const QString& cc, const QString& bcc, - const QString& subject, const QString& body, - const QByteArray& attachment ) +bool MailServiceImpl::sendMessage( const TQString& from, const TQString& to, + const TQString& cc, const TQString& bcc, + const TQString& subject, const TQString& body, + const TQByteArray& attachment ) { if ( to.isEmpty() && cc.isEmpty() && bcc.isEmpty() ) return false; @@ -121,14 +121,14 @@ bool MailServiceImpl::sendMessage( const QString& from, const QString& to, } -bool MailServiceImpl::sendMessage( const QString& to, - const QString& cc, const QString& bcc, - const QString& subject, const QString& body, - const QByteArray& attachment ) +bool MailServiceImpl::sendMessage( const TQString& to, + const TQString& cc, const TQString& bcc, + const TQString& subject, const TQString& body, + const TQByteArray& attachment ) { - kdDebug(5006) << "DCOP call MailTransportServiceIface bool sendMessage(QString to,QString cc,QString bcc,QString subject,QString body,QByteArray attachment)" << endl; - kdDebug(5006) << "This DCOP call is deprecated. Use the corresponding DCOP call with the additional parameter QString from instead." << endl; - return sendMessage( QString::null, to, cc, bcc, subject, body, attachment ); + kdDebug(5006) << "DCOP call MailTransportServiceIface bool sendMessage(TQString to,TQString cc,TQString bcc,TQString subject,TQString body,TQByteArray attachment)" << endl; + kdDebug(5006) << "This DCOP call is deprecated. Use the corresponding DCOP call with the additional parameter TQString from instead." << endl; + return sendMessage( TQString::null, to, cc, bcc, subject, body, attachment ); } }//end namespace KMail -- cgit v1.2.3