summaryrefslogtreecommitdiffstats
path: root/kdeui/kpixmapio.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/kpixmapio.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kpixmapio.h')
-rw-r--r--kdeui/kpixmapio.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kdeui/kpixmapio.h b/kdeui/kpixmapio.h
index 26d84d39c..62549e6e1 100644
--- a/kdeui/kpixmapio.h
+++ b/kdeui/kpixmapio.h
@@ -19,11 +19,11 @@ class QPoint;
class QRect;
struct KPixmapIOPrivate;
/**
- * @short Fast QImage to/from QPixmap conversion.
+ * @short Fast TQImage to/from TQPixmap conversion.
* @author Geert Jansen <jansen@kde.org>
* @version $Id$
*
- * KPixmapIO implements a fast path for QPixmap to/from QImage conversions.
+ * KPixmapIO implements a fast path for TQPixmap to/from TQImage conversions.
* It uses the MIT-SHM shared memory extension for this. If this extension is
* not available, it will fall back to standard Qt methods.
*
@@ -95,14 +95,14 @@ public:
* @param image The image to convert.
* @return The pixmap containing the image.
*/
- QPixmap convertToPixmap(const QImage &image);
+ TQPixmap convertToPixmap(const TQImage &image);
/**
* Convert a pixmap to an image.
* @param pixmap The pixmap to convert.
* @return The image.
*/
- QImage convertToImage(const QPixmap &pixmap);
+ TQImage convertToImage(const TQPixmap &pixmap);
/**
* Bitblt an image onto a pixmap.
@@ -111,13 +111,13 @@ public:
* @param dy Destination y offset.
* @param src The image to load.
*/
- void putImage(QPixmap *dst, int dx, int dy, const QImage *src);
+ void putImage(TQPixmap *dst, int dx, int dy, const TQImage *src);
/**
* This function is identical to the one above. It only differs in the
* arguments it accepts.
*/
- void putImage(QPixmap *dst, const QPoint &offset, const QImage *src);
+ void putImage(TQPixmap *dst, const TQPoint &offset, const TQImage *src);
/**
* Transfer (a part of) a pixmap to an image.
@@ -128,13 +128,13 @@ public:
* @param sh Source height.
* @return The image.
*/
- QImage getImage(const QPixmap *src, int sx, int sy, int sw, int sh);
+ TQImage getImage(const TQPixmap *src, int sx, int sy, int sw, int sh);
/**
* This function is identical to the one above. It only differs in the
* arguments it accepts.
*/
- QImage getImage(const QPixmap *src, const QRect &rect);
+ TQImage getImage(const TQPixmap *src, const TQRect &rect);
/**
* Shared memory allocation policies.
@@ -176,8 +176,8 @@ private:
void destroyXImage();
bool createShmSegment(int size);
void destroyShmSegment();
- void convertToXImage(const QImage &);
- QImage convertFromXImage();
+ void convertToXImage(const TQImage &);
+ TQImage convertFromXImage();
private:
KPixmapIOPrivate* d;
};