summaryrefslogtreecommitdiffstats
path: root/kword/KWPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWPage.cpp')
-rw-r--r--kword/KWPage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kword/KWPage.cpp b/kword/KWPage.cpp
index b2645980..3518d673 100644
--- a/kword/KWPage.cpp
+++ b/kword/KWPage.cpp
@@ -19,10 +19,10 @@
#include "KWPage.h"
#include "KoZoomHandler.h"
-#include <qrect.h>
+#include <tqrect.h>
-KWPage::KWPage(KWPageManager *parent, int pageNum) {
- m_parent = parent;
+KWPage::KWPage(KWPageManager *tqparent, int pageNum) {
+ m_parent = tqparent;
m_pageNum = pageNum;
m_pageLayout.ptWidth = -1.0;
m_pageLayout.ptHeight = -1.0;
@@ -129,8 +129,8 @@ double KWPage::offsetInDocument() const { // the y coordinate
return m_parent->topOfPage(m_pageNum);
}
-QRect KWPage::zoomedRect(KoZoomHandler *zoomHandler) {
- return QRect(0, zoomHandler->zoomItY(offsetInDocument()),
+TQRect KWPage::zoomedRect(KoZoomHandler *zoomHandler) {
+ return TQRect(0, zoomHandler->zoomItY(offsetInDocument()),
zoomHandler->zoomItX(width()), zoomHandler->zoomItY(height()));
}