diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:01:06 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:01:06 -0600 |
commit | 8773bce422c47cf1bd4049d82952c93e7bdb029d (patch) | |
tree | bb559831f6514727d944233fb41da9a2e8c6f00d /src/itemeffectsmanager.cpp | |
parent | 32932d14f9b794773c7eb4deb33777248065a37c (diff) | |
download | dolphin-8773bce422c47cf1bd4049d82952c93e7bdb029d.tar.gz dolphin-8773bce422c47cf1bd4049d82952c93e7bdb029d.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/itemeffectsmanager.cpp')
-rw-r--r-- | src/itemeffectsmanager.cpp | 18 |
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; |