From 94844816550ad672ccfcdc25659c625546239998 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kexi/widget/utils/kexitooltip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kexi/widget/utils/kexitooltip.cpp') 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()); } -- cgit v1.2.1