summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/djvurenderer.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/plugins/djvu/djvurenderer.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/plugins/djvu/djvurenderer.h')
-rw-r--r--kviewshell/plugins/djvu/djvurenderer.h14
1 files changed, 7 insertions, 7 deletions
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 <kprogress.h>
-#include <qpixmap.h>
+#include <tqpixmap.h>
#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<int> &pageList );
+ bool convertToPSFile( DjVuToPS &converter, TQString filename, TQValueList<int> &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<DjVuTXT> getText(PageNumber pageNumber);
- void fillInText(RenderedDocumentPage* page, const GP<DjVuTXT>& text, DjVuTXT::Zone& zone, QSize& djvuPageSize);
+ void fillInText(RenderedDocumentPage* page, const GP<DjVuTXT>& text, DjVuTXT::Zone& zone, TQSize& djvuPageSize);
GP<DjVuDocEditor> 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<ByteStream> PPMstream;
};