From aae5ebe5008a41fe4a4767092d7e17600abf6725 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 20 Jan 2025 18:26:41 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- kmail/accountmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kmail/accountmanager.cpp') diff --git a/kmail/accountmanager.cpp b/kmail/accountmanager.cpp index 4f05eb165..8e4565c81 100644 --- a/kmail/accountmanager.cpp +++ b/kmail/accountmanager.cpp @@ -203,7 +203,7 @@ void AccountManager::processNextCheck( bool _newMail ) TQDataStream stream( params, IO_WriteOnly ); stream << static_cast( curAccount )->host(); - if ( kapp->dcopClient()->call( "kded", "networkstatus", "status(TQString)", + if ( tdeApp->dcopClient()->call( "kded", "networkstatus", "status(TQString)", params, replyType, reply ) && ( replyType == "int" ) ) { int result; @@ -416,7 +416,7 @@ uint AccountManager::createId() int newId; do { - newId = kapp->random(); + newId = tdeApp->random(); } while ( usedIds.find(newId) != usedIds.end() ); return newId; -- cgit v1.2.1