summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexitooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils/kexitooltip.cpp')
-rw-r--r--kexi/widget/utils/kexitooltip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/utils/kexitooltip.cpp b/kexi/widget/utils/kexitooltip.cpp
index 7d71752c..2a36ef09 100644
--- a/kexi/widget/utils/kexitooltip.cpp
+++ b/kexi/widget/utils/kexitooltip.cpp
@@ -42,7 +42,7 @@ KexiToolTip::~KexiToolTip()
{
}
-TQSize KexiToolTip::tqsizeHint() const
+TQSize KexiToolTip::sizeHint() const
{
TQSize sz(fontMetrics().boundingRect(m_value.toString()).size());
return sz;
@@ -64,7 +64,7 @@ void KexiToolTip::paintEvent( TQPaintEvent *pev )
void KexiToolTip::drawFrame(TQPainter& p)
{
- p.setPen( TQPen(tqpalette().active().foreground(), 1) );
+ p.setPen( TQPen(palette().active().foreground(), 1) );
p.drawRect(rect());
}