diff options
Diffstat (limited to 'src/gui/widgets/TextFloat.cpp')
-rw-r--r-- | src/gui/widgets/TextFloat.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/TextFloat.cpp b/src/gui/widgets/TextFloat.cpp index 5bc9446..d3cc9d5 100644 --- a/src/gui/widgets/TextFloat.cpp +++ b/src/gui/widgets/TextFloat.cpp @@ -39,8 +39,8 @@ namespace Rosegarden { -TextFloat::TextFloat(TQWidget *tqparent): - TQWidget(tqparent, "TextFloat", +TextFloat::TextFloat(TQWidget *parent): + TQWidget(parent, "TextFloat", WStyle_Customize | WStyle_NoBorder | WStyle_StaysOnTop), m_text("") { @@ -61,9 +61,9 @@ TextFloat::reparent(TQWidget *newParent) position += newParent->pos(); } - // Position this widget to the right of the tqparent + // Position this widget to the right of the parent // - //move(pos + TQPoint(tqparent->width() + 5, 5)); + //move(pos + TQPoint(parent->width() + 5, 5)); TQWidget::reparent(newParent, WStyle_Customize | WStyle_NoBorder | WStyle_StaysOnTop, |