From 5f12b88e2de1496970d74c7b654e8fd9442f3d5c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:00:34 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- src/linklabel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/linklabel.cpp') 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; -- cgit v1.2.1