summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/djvurenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/plugins/djvu/djvurenderer.cpp')
-rw-r--r--kviewshell/plugins/djvu/djvurenderer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kviewshell/plugins/djvu/djvurenderer.cpp b/kviewshell/plugins/djvu/djvurenderer.cpp
index c9e52c1e..2fac80bb 100644
--- a/kviewshell/plugins/djvu/djvurenderer.cpp
+++ b/kviewshell/plugins/djvu/djvurenderer.cpp
@@ -27,7 +27,7 @@
#include <tqfileinfo.h>
#include <tqimage.h>
#include <tqpainter.h>
-#include <kapp.h>
+#include <tdeapplication.h>
#include "GBitmap.h"
#include "BSByteStream.h"
@@ -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();
}