summaryrefslogtreecommitdiffstats
path: root/kmail/kmcommands.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 18:26:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 18:26:41 +0900
commitaae5ebe5008a41fe4a4767092d7e17600abf6725 (patch)
tree97002e11e1564bceeda4fb4b3b04164bb9e72286 /kmail/kmcommands.cpp
parent69779eb81c20b80b56ab698f44a944efd6107a74 (diff)
downloadtdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.tar.gz
tdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmail/kmcommands.cpp')
-rw-r--r--kmail/kmcommands.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/kmcommands.cpp b/kmail/kmcommands.cpp
index 833144a8..ed706def 100644
--- a/kmail/kmcommands.cpp
+++ b/kmail/kmcommands.cpp
@@ -1705,7 +1705,7 @@ KMCommand::Result KMSeStatusCommand::execute()
f->setStatus( (*it2), mStatus, mToggle );
++it2;
}
- //kapp->dcopClient()->emitDCOPSignal( "unreadCountChanged()", TQByteArray() );
+ //tdeApp->dcopClient()->emitDCOPSignal( "unreadCountChanged()", TQByteArray() );
return OK;
}
@@ -1755,7 +1755,7 @@ KMCommand::Result KMFilterActionCommand::execute()
TQString statusMsg = i18n("Filtering message %1 of %2");
statusMsg = statusMsg.arg( msgCount ).arg( msgCountToFilter );
KPIM::BroadcastStatus::instance()->setStatusMsg( statusMsg );
- TDEApplication::kApplication()->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput, 50 );
+ tdeApp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput, 50 );
}
int filterResult = kmkernel->filterMgr()->process( serNum, mFilter );
@@ -3586,7 +3586,7 @@ KMCommand::Result CreateTodoCommand::execute()
tf.file()->writeBlock( msg->asDwString().c_str(), msg->asDwString().length() );
tf.close();
- KCalendarIface_stub *iface = new KCalendarIface_stub( kapp->dcopClient(), "korganizer", "CalendarIface" );
+ KCalendarIface_stub *iface = new KCalendarIface_stub( tdeApp->dcopClient(), "korganizer", "CalendarIface" );
iface->openTodoEditor( i18n("Mail: %1").arg( msg->subject() ), txt, uri,
tf.name(), TQStringList(), "message/rfc822", true );
delete iface;