summaryrefslogtreecommitdiffstats
path: root/kolourpaint
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:16:27 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:16:27 -0600
commit580d345952faf597f69347256e0ad3411725988a (patch)
treeff47470421577a3e0e9f387b324e184e4d008d53 /kolourpaint
parent81576b133797828eaca3ac819f4adca21de8d327 (diff)
downloadtdegraphics-580d345952faf597f69347256e0ad3411725988a.tar.gz
tdegraphics-580d345952faf597f69347256e0ad3411725988a.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kolourpaint')
-rw-r--r--kolourpaint/tools/kptoolresizescale.cpp6
-rw-r--r--kolourpaint/widgets/kptooltoolbar.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/kolourpaint/tools/kptoolresizescale.cpp b/kolourpaint/tools/kptoolresizescale.cpp
index d3ae370d..31c96809 100644
--- a/kolourpaint/tools/kptoolresizescale.cpp
+++ b/kolourpaint/tools/kptoolresizescale.cpp
@@ -606,13 +606,13 @@ static TQIconSet toolButtonIconSet (const TQString &iconName)
TQPixmap disabledIcon = TDEGlobal::iconLoader ()->iconEffect ()->apply (
UserIcon (iconName),
- KIcon::Toolbar, KIcon::DisabledState);
+ TDEIcon::Toolbar, TDEIcon::DisabledState);
const TQPixmap iconSetNormalIcon = iconSet.pixmap (TQIconSet::Small,
TQIconSet::Normal);
- // I bet past or future versions of KIconEffect::apply() resize the
- // disabled icon if we claim it's in group KIcon::Toolbar. So resize
+ // I bet past or future versions of TDEIconEffect::apply() resize the
+ // disabled icon if we claim it's in group TDEIcon::Toolbar. So resize
// it to match the TQIconSet::Normal icon, just in case.
disabledIcon = kpPixmapFX::scale (disabledIcon,
iconSetNormalIcon.width (),
diff --git a/kolourpaint/widgets/kptooltoolbar.cpp b/kolourpaint/widgets/kptooltoolbar.cpp
index fb0ca446..b0d5e93b 100644
--- a/kolourpaint/widgets/kptooltoolbar.cpp
+++ b/kolourpaint/widgets/kptooltoolbar.cpp
@@ -206,9 +206,9 @@ int kpToolToolBar::defaultIconSize ()
#endif
if (desktopSize.width () >= 1024 && desktopSize.height () >= 768)
- m_defaultIconSize = KIcon::SizeSmallMedium/*22x22*/;
+ m_defaultIconSize = TDEIcon::SizeSmallMedium/*22x22*/;
else
- m_defaultIconSize = KIcon::SizeSmall/*16x16*/;
+ m_defaultIconSize = TDEIcon::SizeSmall/*16x16*/;
}