diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:01:06 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:01:06 -0600 |
commit | 8773bce422c47cf1bd4049d82952c93e7bdb029d (patch) | |
tree | bb559831f6514727d944233fb41da9a2e8c6f00d /src/detailsviewsettingspage.cpp | |
parent | 32932d14f9b794773c7eb4deb33777248065a37c (diff) | |
download | dolphin-8773bce422c47cf1bd4049d82952c93e7bdb029d.tar.gz dolphin-8773bce422c47cf1bd4049d82952c93e7bdb029d.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/detailsviewsettingspage.cpp')
-rw-r--r-- | src/detailsviewsettingspage.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/detailsviewsettingspage.cpp b/src/detailsviewsettingspage.cpp index deb7339..8cf3f50 100644 --- a/src/detailsviewsettingspage.cpp +++ b/src/detailsviewsettingspage.cpp @@ -82,15 +82,15 @@ DetailsViewSettingsPage::DetailsViewSettingsPage(TQWidget *parent) : m_mediumIconSize = new TQRadioButton(i18n("Medium"), iconSizeGroup); m_largeIconSize = new TQRadioButton(i18n("Large"), iconSizeGroup); switch (settings->iconSize()) { - case KIcon::SizeLarge: + case TDEIcon::SizeLarge: m_largeIconSize->setChecked(true); break; - case KIcon::SizeMedium: + case TDEIcon::SizeMedium: m_mediumIconSize->setChecked(true); break; - case KIcon::SizeSmall: + case TDEIcon::SizeSmall: default: m_smallIconSize->setChecked(true); } @@ -139,12 +139,12 @@ void DetailsViewSettingsPage::applySettings() settings->setColumnEnabled(DolphinDetailsView::GroupColumn, m_groupBox->isChecked()); - int iconSize = KIcon::SizeSmall; + int iconSize = TDEIcon::SizeSmall; if (m_mediumIconSize->isChecked()) { - iconSize = KIcon::SizeMedium; + iconSize = TDEIcon::SizeMedium; } else if (m_largeIconSize->isChecked()) { - iconSize = KIcon::SizeLarge; + iconSize = TDEIcon::SizeLarge; } settings->setIconSize(iconSize); |