From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kviewshell/plugins/djvu/djvurenderer.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kviewshell/plugins/djvu/djvurenderer.h') diff --git a/kviewshell/plugins/djvu/djvurenderer.h b/kviewshell/plugins/djvu/djvurenderer.h index 40418c23..85b40626 100644 --- a/kviewshell/plugins/djvu/djvurenderer.h +++ b/kviewshell/plugins/djvu/djvurenderer.h @@ -25,7 +25,7 @@ #define _DJVURENDERER_H_ #include -#include +#include #include "DjVuImage.h" #include "DjVuDocEditor.h" @@ -57,7 +57,7 @@ public: This constructor simply prints a message and calls the default constructor. */ - DjVuRenderer(QWidget* parent); + DjVuRenderer(TQWidget* parent); /** Destructor @@ -77,7 +77,7 @@ public: @param fname the name of the file that should be opened. */ - virtual bool setFile(const QString& fname, const KURL &); + virtual bool setFile(const TQString& fname, const KURL &); /** Rendering a page @param res resolution at which drawing should take place @@ -110,13 +110,13 @@ public: wasn't. The conversion can fail, for example, when the user aborts the operation. */ - bool convertToPSFile( DjVuToPS &converter, QString filename, QValueList &pageList ); + bool convertToPSFile( DjVuToPS &converter, TQString filename, TQValueList &pageList ); /** Deletes pages from the document */ void deletePages(Q_UINT16 from, Q_UINT16 to); /** Saves the file */ - bool save(const QString &filename); + bool save(const TQString &filename); private: /* This method is called after a document is loaded with @@ -131,7 +131,7 @@ private: GP getText(PageNumber pageNumber); - void fillInText(RenderedDocumentPage* page, const GP& text, DjVuTXT::Zone& zone, QSize& djvuPageSize); + void fillInText(RenderedDocumentPage* page, const GP& text, DjVuTXT::Zone& zone, TQSize& djvuPageSize); GP document; @@ -139,7 +139,7 @@ private: PostScript conversion */ static void printerInfoCallBack(int page_num, int page_count, int tot_pages, DjVuToPS::Stage, void *); - QPixmap pixmap; + TQPixmap pixmap; GP PPMstream; }; -- cgit v1.2.1