diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-02 02:14:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-02 02:14:46 -0600 |
commit | 90a4df90811f0f978ae768939d8567f737e4c553 (patch) | |
tree | 057a536138b44495fc3aa26050c159fc6d3ef2ae /tdecore/kiconeffect.cpp | |
parent | 4fb897b216c41c13f128c71bcc66f60e2dc601c4 (diff) | |
download | tdelibs-90a4df90811f0f978ae768939d8567f737e4c553.tar.gz tdelibs-90a4df90811f0f978ae768939d8567f737e4c553.zip |
Rename additional global functions and variables for tqt3
Diffstat (limited to 'tdecore/kiconeffect.cpp')
-rw-r--r-- | tdecore/kiconeffect.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tdecore/kiconeffect.cpp b/tdecore/kiconeffect.cpp index c8d088918..7525e6760 100644 --- a/tdecore/kiconeffect.cpp +++ b/tdecore/kiconeffect.cpp @@ -36,11 +36,11 @@ #include "kiconeffect.h" #if defined(Q_WS_WIN) || defined(Q_WS_MACX) -static bool qt_use_xrender=true; -static bool qt_has_xft=true; +static bool tqt_use_xrender=true; +static bool tqt_has_xft=true; #else -extern bool qt_use_xrender; -extern bool qt_has_xft; +extern bool tqt_use_xrender; +extern bool tqt_has_xft; #endif class KIconEffectPrivate { @@ -445,7 +445,7 @@ void KIconEffect::semiTransparent(TQImage &img) int width = img.width(); int height = img.height(); - if (qt_use_xrender && qt_has_xft ) + if (tqt_use_xrender && tqt_has_xft ) for (y=0; y<height; y++) { #ifdef WORDS_BIGENDIAN @@ -511,7 +511,7 @@ void KIconEffect::semiTransparent(TQImage &img) void KIconEffect::semiTransparent(TQPixmap &pix) { - if ( qt_use_xrender && qt_has_xft ) + if ( tqt_use_xrender && tqt_has_xft ) { TQImage img=pix.convertToImage(); semiTransparent(img); @@ -885,7 +885,7 @@ KIconEffect::visualActivate(TQWidget * widget, TQRect rect, TQPixmap *pixmap) // Fade out Icon a bit more int x, y; - if ((img.depth() == 32) && qt_use_xrender && qt_has_xft) + if ((img.depth() == 32) && tqt_use_xrender && tqt_has_xft) { int width = img.width(); int height = img.height(); |