summaryrefslogtreecommitdiffstats
path: root/src/systemtray.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:00:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:00:34 -0600
commit5f12b88e2de1496970d74c7b654e8fd9442f3d5c (patch)
tree95c1f03353b4652c26eba2de64f947ed5809a7b3 /src/systemtray.cpp
parentbd608b63a8654863e86960e8f2301eac012aa44d (diff)
downloadbasket-5f12b88e2de1496970d74c7b654e8fd9442f3d5c.tar.gz
basket-5f12b88e2de1496970d74c7b654e8fd9442f3d5c.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/systemtray.cpp')
-rw-r--r--src/systemtray.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/systemtray.cpp b/src/systemtray.cpp
index 82da7e2..03b0261 100644
--- a/src/systemtray.cpp
+++ b/src/systemtray.cpp
@@ -213,7 +213,7 @@ SystemTray::SystemTray(TQWidget *parent, const char *name)
TQImage lockedIconImage = m_iconPixmap.convertToImage();
TQPixmap lockOverlayPixmap = loadIcon("lockoverlay");
TQImage lockOverlayImage = lockOverlayPixmap.convertToImage();
- KIconEffect::overlay(lockedIconImage, lockOverlayImage);
+ TDEIconEffect::overlay(lockedIconImage, lockOverlayImage);
m_lockedIconPixmap.convertFromImage(lockedIconImage);
updateToolTip(); // Set toolTip AND icon
@@ -362,7 +362,7 @@ static bool copyImage(TQImage &dest, TQImage &src, int x, int y)
if((y + src.height()) >= dest.height())
return false;
- // We want to use KIconEffect::overlay to do this, since it handles
+ // We want to use TDEIconEffect::overlay to do this, since it handles
// alpha, but the images need to be the same size. We can handle that.
TQImage large_src(dest);
@@ -388,7 +388,7 @@ static bool copyImage(TQImage &dest, TQImage &src, int x, int y)
// Apply effect to image
- KIconEffect::overlay(dest, large_src);
+ TDEIconEffect::overlay(dest, large_src);
return true;
}
@@ -412,11 +412,11 @@ void SystemTray::updateToolTip()
TQImage fgImage = fgPix.convertToImage(); // Should be 16x16
TQImage lockOverlayImage = loadIcon("lockoverlay").convertToImage();
- KIconEffect::semiTransparent(bgImage);
+ TDEIconEffect::semiTransparent(bgImage);
copyImage(bgImage, fgImage, (bgImage.width() - fgImage.width()) / 2,
(bgImage.height() - fgImage.height()) / 2);
if (basket->isLocked())
- KIconEffect::overlay(bgImage, lockOverlayImage);
+ TDEIconEffect::overlay(bgImage, lockOverlayImage);
bgPix.convertFromImage(bgImage);
setPixmap(bgPix);