summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/tktoolbarbutton.cpp
diff options
context:
space:
mode:
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>