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/index.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kmail/index.cpp') diff --git a/kmail/index.cpp b/kmail/index.cpp index c21e15d5b..f9b157d2f 100644 --- a/kmail/index.cpp +++ b/kmail/index.cpp @@ -264,7 +264,7 @@ void KMMsgIndex::clear() { void KMMsgIndex::maintenance() { #ifdef HAVE_INDEXLIB - if ( mState != s_idle || kapp->hasPendingEvents() ) { + if ( mState != s_idle || tdeApp->hasPendingEvents() ) { TQTimer::singleShot( 8000, this, TQ_SLOT( maintenance() ) ); return; } @@ -305,7 +305,7 @@ int KMMsgIndex::addMessage( TQ_UINT32 serNum ) { void KMMsgIndex::act() { kdDebug( 5006 ) << "KMMsgIndex::act()" << endl; - if ( kapp->hasPendingEvents() ) { + if ( tdeApp->hasPendingEvents() ) { //nah, some other time.. mTimer->start( 500 ); mSlowDown = true; @@ -561,7 +561,7 @@ void KMMsgIndex::Search::act() { mState = s_emitting; // fall throu case s_emitting: - if ( kapp->hasPendingEvents() ) { + if ( tdeApp->hasPendingEvents() ) { //nah, some other time.. mTimer->start( 250 ); mState = s_emitstopped; -- cgit v1.2.1