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 --- kooka/kookaimage.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kooka/kookaimage.h') diff --git a/kooka/kookaimage.h b/kooka/kookaimage.h index 84018d4d..c75c2dae 100644 --- a/kooka/kookaimage.h +++ b/kooka/kookaimage.h @@ -29,10 +29,10 @@ #ifndef KOOKAIMAGE_H #define KOOKAIMAGE_H #include -#include -#include -#include -#include +#include +#include +#include +#include #include @@ -41,7 +41,7 @@ class KFileItem; /** * @author Klaas Freitag * - * class that represents an image, very much as QImage. But this one can contain + * class that represents an image, very much as TQImage. But this one can contain * multiple pages. */ @@ -58,10 +58,10 @@ public: * @param p is the parent image. */ KookaImage( int subNo, KookaImage *p ); - KookaImage( const QImage& img ); + KookaImage( const TQImage& img ); KookaImage& operator=(const KookaImage& ); - KookaImage& operator=(const QImage& ); + KookaImage& operator=(const TQImage& ); /** * load an image from a KURL. This method reads the entire file and sets * the values for subimage count. @@ -91,7 +91,7 @@ public: void extractNow(); KURL url() const; - QString localFileName( ) const; + TQString localFileName( ) const; /** * Set and get the KFileItem of the image. Note that the KFileItem pointer returned @@ -124,15 +124,15 @@ public: * The parameters rows and cols contain the number of rows and cols after * tiling. If both are one, the image is smaller than maxSize, thus the * left-top tile is index 1,1. - * Use getTile() to read the QRect list. + * Use getTile() to read the TQRect list. */ - int cutToTiles( const QSize maxSize, int& rows, int& cols, TileMode mode = MaxCut ); + int cutToTiles( const TQSize maxSize, int& rows, int& cols, TileMode mode = MaxCut ); /** * read tiles from the tile list. The image needs to be tiled by method * cutToTiles before. */ - QRect getTileRect( int rowPos, int colPos ) const; + TQRect getTileRect( int rowPos, int colPos ) const; /** * retrieve the sub number of this image. @@ -141,7 +141,7 @@ public: private: int m_subImages; - bool loadTiffDir( const QString&, int ); + bool loadTiffDir( const TQString&, int ); /* if subNo is 0, the image is the one and only. If it is larger than 0, the * parent contains the filename */ @@ -154,12 +154,12 @@ private: KFileItem *m_fileItem; bool m_fileBound; - QValueVector m_tileVector; + TQValueVector m_tileVector; int m_tileCols; /* number of tile columns */ }; -class KookaImageList: public QPtrList +class KookaImageList: public TQPtrList { public: KookaImageList() {} -- cgit v1.2.1