summaryrefslogtreecommitdiffstats
path: root/kviewshell/renderedDocumentPagePixmap.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kviewshell/renderedDocumentPagePixmap.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/renderedDocumentPagePixmap.h')
-rw-r--r--kviewshell/renderedDocumentPagePixmap.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kviewshell/renderedDocumentPagePixmap.h b/kviewshell/renderedDocumentPagePixmap.h
index 112650ba..5e6e79fb 100644
--- a/kviewshell/renderedDocumentPagePixmap.h
+++ b/kviewshell/renderedDocumentPagePixmap.h
@@ -13,8 +13,8 @@
#include "renderedDocumentPage.h"
-#include <qpainter.h>
-#include <qpixmap.h>
+#include <tqpainter.h>
+#include <tqpixmap.h>
// This class contains everything documentRenderer needs to know
@@ -29,28 +29,28 @@ public:
virtual ~RenderedDocumentPagePixmap();
/** Returns a pointer to the paintDevice (in most implementation
- either a QPixmap, or a QPrinter). The pointer returned is valid
+ either a TQPixmap, or a TQPrinter). The pointer returned is valid
as long as *this RenderedDocumentPage exists. This method is
used by the renderer to draw on the page. */
- virtual QPainter *getPainter();
+ virtual TQPainter *getPainter();
- /** This implementation delete the QPainter *pt (and thereby initiates the drawing) */
- virtual void returnPainter(QPainter *pt) {delete pt;}
+ /** This implementation delete the TQPainter *pt (and thereby initiates the drawing) */
+ virtual void returnPainter(TQPainter *pt) {delete pt;}
- QPixmap accessiblePixmap();
+ TQPixmap accessiblePixmap();
- void resize(const QSize& size);
+ void resize(const TQSize& size);
void resize(int width, int height);
- virtual QSize size() { return QPixmap::size(); }
- virtual int width() { return QPixmap::width(); }
- virtual int height() { return QPixmap::height(); }
+ virtual TQSize size() { return TQPixmap::size(); }
+ virtual int width() { return TQPixmap::width(); }
+ virtual int height() { return TQPixmap::height(); }
/** Returns the amount of memory used by this pixmap */
unsigned int memory();
private:
- QPixmap* _accessiblePixmap;
+ TQPixmap* _accessiblePixmap;
/** true if _accessiblePixmap needs updateing */
bool dirty;
};