diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KPixmapIO.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KPixmapIO.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kdejava/koala/org/kde/koala/KPixmapIO.java b/kdejava/koala/org/kde/koala/KPixmapIO.java index f0e8922c..2329f718 100644 --- a/kdejava/koala/org/kde/koala/KPixmapIO.java +++ b/kdejava/koala/org/kde/koala/KPixmapIO.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; +import org.kde.qt.TQRect; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QImage; -import org.kde.qt.QPoint; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQImage; +import org.kde.qt.TQPoint; /** - 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. <li><b>Typical usage:</b></li> @@ -58,7 +58,7 @@ import org.kde.qt.QPoint; @version $Id$ - @short Fast QImage to/from QPixmap conversion. + @short Fast TQImage to/from TQPixmap conversion. */ public class KPixmapIO implements QtSupport { @@ -84,7 +84,7 @@ public class KPixmapIO implements QtSupport { @short Convert an image to a pixmap. */ - public native QPixmap convertToPixmap(QImage image); + public native TQPixmap convertToPixmap(TQImage image); /** Convert a pixmap to an image. @param pixmap The pixmap to convert. @@ -92,7 +92,7 @@ public class KPixmapIO implements QtSupport { @short Convert a pixmap to an image. */ - public native QImage convertToImage(QPixmap pixmap); + public native TQImage convertToImage(TQPixmap pixmap); /** Bitblt an image onto a pixmap. @param dst The destination pixmap. @@ -101,13 +101,13 @@ public class KPixmapIO implements QtSupport { @param src The image to load. @short Bitblt an image onto a pixmap. */ - public native void putImage(QPixmap dst, int dx, int dy, QImage src); + public native void putImage(TQPixmap dst, int dx, int dy, TQImage src); /** This function is identical to the one above. It only differs in the arguments it accepts. @short This function is identical to the one above. */ - public native void putImage(QPixmap dst, QPoint offset, QImage src); + public native void putImage(TQPixmap dst, TQPoint offset, TQImage src); /** Transfer (a part of) a pixmap to an image. @param src The source pixmap. @@ -119,13 +119,13 @@ public class KPixmapIO implements QtSupport { @short Transfer (a part of) a pixmap to an image. */ - public native QImage getImage(QPixmap src, int sx, int sy, int sw, int sh); + public native TQImage getImage(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. @short This function is identical to the one above. */ - public native QImage getImage(QPixmap src, QRect rect); + public native TQImage getImage(TQPixmap src, TQRect rect); /** Set the shared memory allocation policy. See the introduction for KPixmapIO for a discussion. |