summaryrefslogtreecommitdiffstats
path: root/src/itemeffectsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/itemeffectsmanager.cpp')
-rw-r--r--src/itemeffectsmanager.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/itemeffectsmanager.cpp b/src/itemeffectsmanager.cpp
index 28db315..500ed15 100644
--- a/src/itemeffectsmanager.cpp
+++ b/src/itemeffectsmanager.cpp
@@ -72,10 +72,10 @@ void ItemEffectsManager::activateItem(void* context)
m_highlightedURL = itemURL;
// apply an icon effect to the item below the mouse pointer
- KIconEffect iconEffect;
+ TDEIconEffect iconEffect;
TQPixmap pixmap = iconEffect.apply(*itemPixmap,
- KIcon::Desktop,
- KIcon::ActiveState);
+ TDEIcon::Desktop,
+ TDEIcon::ActiveState);
setContextPixmap(context, pixmap);
}
@@ -95,10 +95,10 @@ void ItemEffectsManager::resetActivatedItem()
KURL itemURL(contextFileInfo(context)->url());
if (itemURL == m_highlightedURL) {
// the highlighted item has been found and is restored to the default state
- KIconEffect iconEffect;
+ TDEIconEffect iconEffect;
TQPixmap pixmap = iconEffect.apply(*m_pixmapCopy,
- KIcon::Desktop,
- KIcon::DefaultState);
+ TDEIcon::Desktop,
+ TDEIcon::DefaultState);
// TODO: KFileIconView does not emit any signal when the preview has been finished.
// Hence check the size to prevent that a preview is hidden by restoring a
@@ -164,10 +164,10 @@ void ItemEffectsManager::updateDisabledItems()
disabledItem.pixmap = *itemPixmap;
m_disabledItems.append(disabledItem);
- KIconEffect iconEffect;
+ TDEIconEffect iconEffect;
TQPixmap disabledPixmap = iconEffect.apply(*itemPixmap,
- KIcon::Desktop,
- KIcon::DisabledState);
+ TDEIcon::Desktop,
+ TDEIcon::DisabledState);
setContextPixmap(context, disabledPixmap);
}
break;