diff options
Diffstat (limited to 'kmail/mailserviceimpl.cpp')
-rw-r--r-- | kmail/mailserviceimpl.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kmail/mailserviceimpl.cpp b/kmail/mailserviceimpl.cpp index 6d82f5a45..e7337e810 100644 --- a/kmail/mailserviceimpl.cpp +++ b/kmail/mailserviceimpl.cpp @@ -42,7 +42,7 @@ #include <dcopobject.h> #include <kurl.h> #include <kdebug.h> -#include <qstring.h> +#include <tqstring.h> 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 |