summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexismalltoolbutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:05:40 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:05:40 -0600
commit1d4158dd755a445fd42f2db7db5abab8084175cd (patch)
tree71ca5f966ca25d2a47b66ae27f7bb06c34d190bf /kexi/widget/kexismalltoolbutton.cpp
parent391e0b69f256bab8971430050c65f0e6e7eea9be (diff)
downloadkoffice-1d4158dd755a445fd42f2db7db5abab8084175cd.tar.gz
koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kexi/widget/kexismalltoolbutton.cpp')
-rw-r--r--kexi/widget/kexismalltoolbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/kexismalltoolbutton.cpp b/kexi/widget/kexismalltoolbutton.cpp
index 8852f81c..27f89395 100644
--- a/kexi/widget/kexismalltoolbutton.cpp
+++ b/kexi/widget/kexismalltoolbutton.cpp
@@ -62,7 +62,7 @@ void KexiSmallToolButton::updateAction()
{
if (!m_action)
return;
- update(m_action->text(), m_action->iconSet(KIcon::Small));
+ update(m_action->text(), m_action->iconSet(TDEIcon::Small));
setAccel(m_action->shortcut());
TQToolTip::add(this, m_action->toolTip());
TQWhatsThis::add(this, m_action->whatsThis());
@@ -92,7 +92,7 @@ void KexiSmallToolButton::update(const TQString& text, const TQIconSet& iconSet,
TQToolButton::setTextLabel(text, tipToo);
}
if (!iconSet.isNull()) {
- width += IconSize(KIcon::Small);
+ width += IconSize(TDEIcon::Small);
TQToolButton::setIconSet(iconSet);
}
setFixedWidth( width );