summaryrefslogtreecommitdiffstats
path: root/src/linklabel.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/linklabel.cpp
parentbd608b63a8654863e86960e8f2301eac012aa44d (diff)
downloadbasket-5f12b88e2de1496970d74c7b654e8fd9442f3d5c.tar.gz
basket-5f12b88e2de1496970d74c7b654e8fd9442f3d5c.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/linklabel.cpp')
-rw-r--r--src/linklabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linklabel.cpp b/src/linklabel.cpp
index 5d81d13..6c6628c 100644
--- a/src/linklabel.cpp
+++ b/src/linklabel.cpp
@@ -441,8 +441,8 @@ void LinkDisplay::paint(TQPainter *painter, int x, int y, int width, int height,
else {
int iconSize = m_look->iconSize();
TQString iconName = (isHovered ? Global::openNoteIcon() : m_icon);
- KIcon::States iconState = (isIconButtonHovered ? KIcon::ActiveState : KIcon::DefaultState);
- pixmap = kapp->iconLoader()->loadIcon(iconName, KIcon::Desktop, iconSize, iconState, 0L, /*canReturnNull=*/false);
+ TDEIcon::States iconState = (isIconButtonHovered ? TDEIcon::ActiveState : TDEIcon::DefaultState);
+ pixmap = kapp->iconLoader()->loadIcon(iconName, TDEIcon::Desktop, iconSize, iconState, 0L, /*canReturnNull=*/false);
}
int iconPreviewWidth = TQMAX(m_look->iconSize(), (m_look->previewEnabled() ? m_preview.width() : 0));
int pixmapX = (iconPreviewWidth - pixmap.width()) / 2;