From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kolourpaint/pixmapfx/kppixmapfx.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kolourpaint/pixmapfx/kppixmapfx.h') diff --git a/kolourpaint/pixmapfx/kppixmapfx.h b/kolourpaint/pixmapfx/kppixmapfx.h index ac52e992..738d82fa 100644 --- a/kolourpaint/pixmapfx/kppixmapfx.h +++ b/kolourpaint/pixmapfx/kppixmapfx.h @@ -87,7 +87,7 @@ public: // - // QPixmap/TQImage Conversion Functions + // TQPixmap/TQImage Conversion Functions // // @@ -100,7 +100,7 @@ public: // is slightly differently colored to . // // KolourPaint needs to convert to TQImage occasionally as - // TQImage allows KolourPaint to read pixels and because the QImage + // TQImage allows KolourPaint to read pixels and because the TQImage // methods give reliable results and pixel-identical results on // all platforms. The TQPixmap paint engine has no such guarantee // and even depends on the quality of the video driver. @@ -128,7 +128,7 @@ public: // // " contains translucency which is not fully" // " supported. The translucency data will be" - // " approximated with a 1-bit transparency mask.") + // " approximated with a 1-bit transparency tqmask.") // // : // i18n ("The (image \"example.jpg\"|image from the clipboard)" @@ -140,21 +140,21 @@ public: // i18n ("The (image \"example.jpg\"|image from the clipboard)" // " contains translucency which is not fully" // " supported. The translucency data will be" - // " approximated with a 1-bit transparency mask.") + // " approximated with a 1-bit transparency tqmask.") // // : // // Don'tAskAgain ID for dialog. // - // : + // : // - // Dialog parent + // Dialog tqparent // WarnAboutLossInfo (const TQString &moreColorsThanDisplayAndHasAlphaChannelMessage, const TQString &moreColorsThanDisplayMessage, const TQString &hasAlphaChannelMessage, const TQString &dontAskAgainPrefix, - TQWidget *parent) + TQWidget *tqparent) : m_moreColorsThanDisplayAndHasAlphaChannelMessage ( moreColorsThanDisplayAndHasAlphaChannelMessage), @@ -164,7 +164,7 @@ public: hasAlphaChannelMessage), m_dontAskAgainPrefix ( dontAskAgainPrefix), - m_parent (parent), + m_parent (tqparent), m_isValid (true) { } @@ -227,7 +227,7 @@ public: // Sets the RGB values of the pixels where is transparent to // . This has visually no effect on the - // unless the mask is lost. + // unless the tqmask is lost. static TQPixmap pixmapWithDefinedTransparentPixels (const TQPixmap &pixmap, const TQColor &transparentColor); @@ -238,19 +238,19 @@ public: // - // Returns the pixel and mask data found at the in . + // Returns the pixel and tqmask data found at the in . // static TQPixmap getPixmapAt (const TQPixmap &pm, const TQRect &rect); // - // Sets the pixel and mask data at in <*destPixmapPtr> + // Sets the pixel and tqmask data at in <*destPixmapPtr> // to . // static void setPixmapAt (TQPixmap *destPixmapPtr, const TQRect &destRect, const TQPixmap &srcPixmap); // - // Sets the pixel and mask data at the rectangle in <*destPixmapPtr>, + // Sets the pixel and tqmask data at the rectangle in <*destPixmapPtr>, // with the top-left and dimensions , // to . // @@ -261,7 +261,7 @@ public: // // Draws on top of <*destPixmapPtr> at . - // The mask of <*destPixmapPtr> is adjusted so that all opaque + // The tqmask of <*destPixmapPtr> is adjusted so that all opaque // pixels in will be opaque in <*destPixmapPtr>. // static void paintPixmapAt (TQPixmap *destPixmapPtr, const TQPoint &destAt, @@ -293,16 +293,16 @@ public: // // Removes <*destPixmapPtr>'s Alpha Channel and attempts to convert it - // to a mask. KolourPaint - and TQPixmap to a great extent - does not - // support Alpha Channels - only masks. Call this whenever you get + // to a tqmask. KolourPaint - and TQPixmap to a great extent - does not + // support Alpha Channels - only tqmasks. Call this whenever you get // a pixmap from a foreign source; else all KolourPaint code will // exhibit "undefined behaviour". // static void ensureNoAlphaChannel (TQPixmap *destPixmapPtr); // - // Returns 's mask or a fully opaque mask (with 's dimensions) - // if does not have a mask. + // Returns 's tqmask or a fully opaque tqmask (with 's dimensions) + // if does not have a tqmask. // static TQBitmap getNonNullMask (const TQPixmap &pm); @@ -312,7 +312,7 @@ public: static void ensureTransparentAt (TQPixmap *destPixmapPtr, const TQRect &destRect); // - // Sets the mask of <*destPixmapPtr> at the rectangle, with the + // Sets the tqmask of <*destPixmapPtr> at the rectangle, with the // top-left and dimensions , // to transparent where is opaque. // -- cgit v1.2.3