summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/tktoolbarbutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /lib/kofficeui/tktoolbarbutton.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'lib/kofficeui/tktoolbarbutton.cpp')
-rw-r--r--lib/kofficeui/tktoolbarbutton.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kofficeui/tktoolbarbutton.cpp b/lib/kofficeui/tktoolbarbutton.cpp
index 5436496f..af2b14c2 100644
--- a/lib/kofficeui/tktoolbarbutton.cpp
+++ b/lib/kofficeui/tktoolbarbutton.cpp
@@ -182,7 +182,7 @@ void TKToolBarButton::setEnabled( bool enabled )
void TKToolBarButton::setText( const TQString& text)
{
d->m_text = text;
- tqrepaint(false);
+ repaint(false);
}
void TKToolBarButton::setIcon( const TQString& icon )
@@ -281,7 +281,7 @@ void TKToolBarButton::setDelayedPopup (TQPopupMenu *p, bool toggle )
void TKToolBarButton::setRaised(bool f)
{
d->m_isRaised = f;
- tqrepaint(false);
+ repaint(false);
}
void TKToolBarButton::setAutoRaised(bool f)
@@ -308,7 +308,7 @@ void TKToolBarButton::enterEvent(TQEvent *)
} else {
TQToolButton::setPixmap(disabledPixmap);
}
- tqrepaint(false);
+ repaint(false);
}
}
@@ -332,7 +332,7 @@ bool TKToolBarButton::eventFilter(TQObject *o, TQEvent *ev)
case TQEvent::Hide:
on(false);
setDown(false);
- if ( !tqgeometry().contains(parentWidget()->mapFromGlobal(TQCursor::pos())) )
+ if ( !geometry().contains(parentWidget()->mapFromGlobal(TQCursor::pos())) )
leaveEvent(0L);
return false;
break;
@@ -409,7 +409,7 @@ void TKToolBarButton::paletteChange(const TQPalette &)
TQToolButton::setPixmap( disabledPixmap );
else
TQToolButton::setPixmap( defaultPixmap );
- tqrepaint(false);
+ repaint(false);
}
void TKToolBarButton::makeDefaultPixmap()
@@ -502,7 +502,7 @@ void TKToolBarButton::slotToggled()
void TKToolBarButton::on(bool flag)
{
d->m_isOn = flag;
- tqrepaint();
+ repaint();
}
void TKToolBarButton::toggle()
@@ -519,14 +519,14 @@ void TKToolBarButton::setToggle(bool flag)
disconnect(this, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggled()));
modeChange();
- tqrepaint();
+ repaint();
}
void TKToolBarButton::setIconMode( TK::IconMode m )
{
d->m_iconMode = m;
modeChange();
- tqrepaint();
+ repaint();
}
#include <tktoolbarbutton.moc>