summaryrefslogtreecommitdiffstats
path: root/src/dolphindetailsview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:01:06 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:01:06 -0600
commit8773bce422c47cf1bd4049d82952c93e7bdb029d (patch)
treebb559831f6514727d944233fb41da9a2e8c6f00d /src/dolphindetailsview.cpp
parent32932d14f9b794773c7eb4deb33777248065a37c (diff)
downloaddolphin-8773bce422c47cf1bd4049d82952c93e7bdb029d.tar.gz
dolphin-8773bce422c47cf1bd4049d82952c93e7bdb029d.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/dolphindetailsview.cpp')
-rw-r--r--src/dolphindetailsview.cpp12
1 files changed, 6 insertions, 6 deletions
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)