From 8773bce422c47cf1bd4049d82952c93e7bdb029d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:01:06 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- src/dolphindetailsview.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/dolphindetailsview.cpp') diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index de1ba2f..754c2c6 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -179,8 +179,8 @@ void DolphinDetailsView::zoomIn() if (isZoomInPossible()) { DolphinDetailsViewSettings* settings = DolphinSettings::instance().detailsView(); switch (settings->iconSize()) { - case KIcon::SizeSmall: settings->setIconSize(KIcon::SizeMedium); break; - case KIcon::SizeMedium: settings->setIconSize(KIcon::SizeLarge); break; + case TDEIcon::SizeSmall: settings->setIconSize(TDEIcon::SizeMedium); break; + case TDEIcon::SizeMedium: settings->setIconSize(TDEIcon::SizeLarge); break; default: assert(false); break; } ItemEffectsManager::zoomIn(); @@ -192,8 +192,8 @@ void DolphinDetailsView::zoomOut() if (isZoomOutPossible()) { DolphinDetailsViewSettings* settings = DolphinSettings::instance().detailsView(); switch (settings->iconSize()) { - case KIcon::SizeLarge: settings->setIconSize(KIcon::SizeMedium); break; - case KIcon::SizeMedium: settings->setIconSize(KIcon::SizeSmall); break; + case TDEIcon::SizeLarge: settings->setIconSize(TDEIcon::SizeMedium); break; + case TDEIcon::SizeMedium: settings->setIconSize(TDEIcon::SizeSmall); break; default: assert(false); break; } ItemEffectsManager::zoomOut(); @@ -203,13 +203,13 @@ void DolphinDetailsView::zoomOut() bool DolphinDetailsView::isZoomInPossible() const { DolphinDetailsViewSettings* settings = DolphinSettings::instance().detailsView(); - return settings->iconSize() < KIcon::SizeLarge; + return settings->iconSize() < TDEIcon::SizeLarge; } bool DolphinDetailsView::isZoomOutPossible() const { DolphinDetailsViewSettings* settings = DolphinSettings::instance().detailsView(); - return settings->iconSize() > KIcon::SizeSmall; + return settings->iconSize() > TDEIcon::SizeSmall; } void DolphinDetailsView::resizeContents(int width, int height) -- cgit v1.2.1