summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolderindex.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-20 18:26:41 +0900
committerMichele Calgaro <[email protected]>2025-01-20 18:26:41 +0900
commitaae5ebe5008a41fe4a4767092d7e17600abf6725 (patch)
tree97002e11e1564bceeda4fb4b3b04164bb9e72286 /kmail/kmfolderindex.cpp
parent69779eb81c20b80b56ab698f44a944efd6107a74 (diff)
downloadtdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.tar.gz
tdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.zip
Use tdeApprename/tdeapp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kmail/kmfolderindex.cpp')
-rw-r--r--kmail/kmfolderindex.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/kmfolderindex.cpp b/kmail/kmfolderindex.cpp
index 9b60b25ce..42b5d0c5b 100644
--- a/kmail/kmfolderindex.cpp
+++ b/kmail/kmfolderindex.cpp
@@ -363,14 +363,14 @@ bool KMFolderIndex::readIndexHeader(int *gv)
createIndexFromContents();
return false;
} else if(indexVersion > INDEX_VERSION) {
- kapp->setOverrideCursor(KCursor::arrowCursor());
+ tdeApp->setOverrideCursor(KCursor::arrowCursor());
int r = KMessageBox::questionYesNo(0,
i18n(
"The mail index for '%1' is from an unknown version of KMail (%2).\n"
"This index can be regenerated from your mail folder, but some "
"information, including status flags, may be lost. Do you wish "
"to downgrade your index file?") .arg(name()) .arg(indexVersion), TQString(), i18n("Downgrade"), i18n("Do Not Downgrade") );
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
if (r == KMessageBox::Yes)
createIndexFromContents();
return false;
@@ -524,11 +524,11 @@ KMMsgInfo* KMFolderIndex::setIndexEntry( int idx, KMMessage *msg )
void KMFolderIndex::recreateIndex( bool readIndexAfterwards )
{
- kapp->setOverrideCursor(KCursor::arrowCursor());
+ tdeApp->setOverrideCursor(KCursor::arrowCursor());
KMessageBox::information(0,
i18n("The mail index for '%1' is corrupted and will be regenerated now, "
"but some information, like status flags, might get lost.").arg(name()));
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
createIndexFromContents();
if ( readIndexAfterwards ) {
readIndex();