summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/kvi_imagelib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/ext/kvi_imagelib.h')
-rw-r--r--src/kvilib/ext/kvi_imagelib.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kvilib/ext/kvi_imagelib.h b/src/kvilib/ext/kvi_imagelib.h
index d78c8d19..1bbccb1b 100644
--- a/src/kvilib/ext/kvi_imagelib.h
+++ b/src/kvilib/ext/kvi_imagelib.h
@@ -25,7 +25,7 @@
//
// A class to manage multiple image libraries.
-// The library is in fact a big image that contains
+// The library is in fact a big image that tqcontains
// several rows of other smaller images of the same size.
// The images inside the 'library' are indexed in the following way:
//
@@ -47,26 +47,26 @@
#include "kvi_settings.h"
-#include <qimage.h>
+#include <tqimage.h>
class KVILIB_API KviImageLibrary
{
public: // Consruction & Destruction
-// KviImageLibrary(const QPixmap &pixmap,int imageWidth,int imageHeight);
- KviImageLibrary(const QString &path,int imageWidth,int imageHeight);
- KviImageLibrary(const QString &path1,const QString &path2,int imageWidth,int imageHeight);
+// KviImageLibrary(const TQPixmap &pixmap,int imageWidth,int imageHeight);
+ KviImageLibrary(const TQString &path,int imageWidth,int imageHeight);
+ KviImageLibrary(const TQString &path1,const TQString &path2,int imageWidth,int imageHeight);
~KviImageLibrary();
public: // Fields
- QImage *m_pLibrary;
+ TQImage *m_pLibrary;
int m_iWidth;
int m_iHeight;
public: // Methods
- bool loadLibrary(const QString &path);
+ bool loadLibrary(const TQString &path);
void unloadLibrary();
int imageCount();
bool libraryLoaded(){ return (m_pLibrary != 0); };
- QImage *getLibrary(){ return m_pLibrary; };
- QPixmap getImage(int zeroBasedIndex);
+ TQImage *getLibrary(){ return m_pLibrary; };
+ TQPixmap getImage(int zeroBasedIndex);
bool setImageSize(int imageWidth,int imageHeight);
};