summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/TextFloat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/TextFloat.cpp')
-rw-r--r--src/gui/widgets/TextFloat.cpp6
1 files changed, 3 insertions, 3 deletions
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();
}