From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/kpixmapio.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kdeui/kpixmapio.h') 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 * @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; }; -- cgit v1.2.1