From 1905a36716979889e47bb0fdd7bf33c6204c5a6d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/widgets/TextFloat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/TextFloat.cpp') diff --git a/src/gui/widgets/TextFloat.cpp b/src/gui/widgets/TextFloat.cpp index a62f3a1..5bc9446 100644 --- a/src/gui/widgets/TextFloat.cpp +++ b/src/gui/widgets/TextFloat.cpp @@ -44,7 +44,7 @@ TextFloat::TextFloat(TQWidget *tqparent): WStyle_Customize | WStyle_NoBorder | WStyle_StaysOnTop), m_text("") { - reparent(tqparentWidget()); + reparent(parentWidget()); resize(20, 20); } @@ -55,9 +55,9 @@ TextFloat::reparent(TQWidget *newParent) // Get position and reparent to either top level or dialog // - while (newParent->tqparentWidget() && !newParent->isTopLevel() + while (newParent->parentWidget() && !newParent->isTopLevel() && !newParent->isDialog()) { - newParent = newParent->tqparentWidget(); + newParent = newParent->parentWidget(); position += newParent->pos(); } -- cgit v1.2.3