summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-20 19:38:51 +0900
committerMichele Calgaro <[email protected]>2025-01-29 13:55:46 +0900
commit5078ce4c93affa49e4ba206930b07813d066415b (patch)
tree4de09da0a57e07b1e5df2be8e568f5dfbb35d83e /kbugbuster/backend
parenta52f07f6833590b410ac9cde84ee60caaed67631 (diff)
downloadtdesdk-5078ce4c93affa49e4ba206930b07813d066415b.tar.gz
tdesdk-5078ce4c93affa49e4ba206930b07813d066415b.zip
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kbugbuster/backend')
-rw-r--r--kbugbuster/backend/mailsender.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbugbuster/backend/mailsender.cpp b/kbugbuster/backend/mailsender.cpp
index 1c248ee7..f5b051c9 100644
--- a/kbugbuster/backend/mailsender.cpp
+++ b/kbugbuster/backend/mailsender.cpp
@@ -101,7 +101,7 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
} else if ( m_client == KMail ) {
kdDebug() << "Sending per KMail" << endl;
- if (!kapp->dcopClient()->isApplicationRegistered("kmail")) {
+ if (!tdeApp->dcopClient()->isApplicationRegistered("kmail")) {
KMessageBox::error(0,i18n("No running instance of KMail found."));
TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
return false;
@@ -195,7 +195,7 @@ int MailSender::kMailOpenComposer(const TQString& arg0,const TQString& arg1,
arg << arg4;
arg << arg5;
arg << arg6;
- if (kapp->dcopClient()->call("kmail","KMailIface","openComposer(TQString,TQString,TQString,TQString,TQString,int,KURL)", data, replyType, replyData ) ) {
+ if (tdeApp->dcopClient()->call("kmail","KMailIface","openComposer(TQString,TQString,TQString,TQString,TQString,int,KURL)", data, replyType, replyData ) ) {
if ( replyType == "int" ) {
TQDataStream _reply_stream( replyData, IO_ReadOnly );
_reply_stream >> result;