summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 18:26:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-02-03 21:44:59 +0900
commit52bf4ce9dd80ed5179fe6be622626c3376c0da99 (patch)
tree15d3c15b63288acf6505ced3d265f55cef05cf98 /kviewshell/plugins
parent169841a34676151ac67711c7d05c6343fdf50697 (diff)
downloadtdegraphics-52bf4ce9dd80ed5179fe6be622626c3376c0da99.tar.gz
tdegraphics-52bf4ce9dd80ed5179fe6be622626c3376c0da99.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kviewshell/plugins')
-rw-r--r--kviewshell/plugins/djvu/djvurenderer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kviewshell/plugins/djvu/djvurenderer.cpp b/kviewshell/plugins/djvu/djvurenderer.cpp
index 2bac1743..2fac80bb 100644
--- a/kviewshell/plugins/djvu/djvurenderer.cpp
+++ b/kviewshell/plugins/djvu/djvurenderer.cpp
@@ -403,7 +403,7 @@ bool DjVuRenderer::initializeDocument()
for(TQ_UINT16 i=0; i<numPages; i++) {
// Keep the GUI updated
if (i%100 == 0)
- kapp->processEvents();
+ tdeApp->processEvents();
GP<DjVuFile> djvuFile = document->get_djvu_file(i);
int resolution;
@@ -611,7 +611,7 @@ bool DjVuRenderer::convertToPSFile( DjVuToPS &converter, TQString filename, TQVa
delete pdialog;
// This is to keep the GUI updated.
- kapp->processEvents();
+ tdeApp->processEvents();
obs->flush();
return !iscancelled;
@@ -639,7 +639,7 @@ void DjVuRenderer::deletePages(TQ_UINT16 from, TQ_UINT16 to)
pdialog->progressBar()->setTotalSteps(to-from+1);
pdialog->progressBar()->setFormat(TQString());
pdialog->show();
- kapp->processEvents();
+ tdeApp->processEvents();
}
// set the document pointer temporarily to 0, so that no-one tries
@@ -658,7 +658,7 @@ void DjVuRenderer::deletePages(TQ_UINT16 from, TQ_UINT16 to)
document_new->remove_page(from-1);
pdialog->progressBar()->setProgress(i-from);
pdialog->progressBar()->setFormat(i18n("deleting page %1").arg(i));
- kapp->processEvents();
+ tdeApp->processEvents();
}
delete pdialog;
}
@@ -712,7 +712,7 @@ void DjVuRenderer::printerInfoCallBack(int page_num, int page_count, int, DjVuTo
G_THROW("STOP");
// This is to keep the GUI updated.
- kapp->processEvents();
+ tdeApp->processEvents();
}