diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:05:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:05:40 -0600 |
commit | 1d4158dd755a445fd42f2db7db5abab8084175cd (patch) | |
tree | 71ca5f966ca25d2a47b66ae27f7bb06c34d190bf /kexi/kexiutils | |
parent | 391e0b69f256bab8971430050c65f0e6e7eea9be (diff) | |
download | koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.tar.gz koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kexi/kexiutils')
-rw-r--r-- | kexi/kexiutils/utils.cpp | 4 | ||||
-rw-r--r-- | kexi/kexiutils/utils.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexiutils/utils.cpp b/kexi/kexiutils/utils.cpp index 125e4783..052f149a 100644 --- a/kexi/kexiutils/utils.cpp +++ b/kexi/kexiutils/utils.cpp @@ -177,14 +177,14 @@ TQColor KexiUtils::bleachedColor(const TQColor& c, int factor) TQIconSet KexiUtils::colorizeIconToTextColor(const TQPixmap& icon, const TQPalette& palette) { TQPixmap pm( - KIconEffect().apply( icon, KIconEffect::Colorize, 1.0f, palette.active().buttonText(), false ) ); + TDEIconEffect().apply( icon, TDEIconEffect::Colorize, 1.0f, palette.active().buttonText(), false ) ); KPixmap kpm(pm); return TQIconSet( KPixmapEffect::fade( kpm, 0.33, palette.active().button() ) ); } -TQPixmap KexiUtils::emptyIcon(KIcon::Group iconGroup) +TQPixmap KexiUtils::emptyIcon(TDEIcon::Group iconGroup) { TQPixmap noIcon( IconSize( iconGroup ), IconSize( iconGroup ) ); TQBitmap bmpNoIcon(noIcon.size()); diff --git a/kexi/kexiutils/utils.h b/kexi/kexiutils/utils.h index 8b832061..acb3cf07 100644 --- a/kexi/kexiutils/utils.h +++ b/kexi/kexiutils/utils.h @@ -162,7 +162,7 @@ namespace KexiUtils KEXIUTILS_EXPORT TQIconSet colorizeIconToTextColor(const TQPixmap& icon, const TQPalette& palette); /*! \return empty (fully transparent) pixmap that can be used as a place for icon of size \a iconGroup */ - KEXIUTILS_EXPORT TQPixmap emptyIcon(KIcon::Group iconGroup); + KEXIUTILS_EXPORT TQPixmap emptyIcon(TDEIcon::Group iconGroup); /*! Serializes \a map to \a array. KexiUtils::deserializeMap() can be used to deserialize this array back to map. */ |