diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 1905a36716979889e47bb0fdd7bf33c6204c5a6d (patch) | |
tree | 0daef2425269e8053435f4f7e734091d72e27be0 /src/gui/widgets | |
parent | 05768569bc9c8b3eb75c837d305058fc280db63c (diff) | |
download | rosegarden-1905a36716979889e47bb0fdd7bf33c6204c5a6d.tar.gz rosegarden-1905a36716979889e47bb0fdd7bf33c6204c5a6d.zip |
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
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/Fader.cpp | 6 | ||||
-rw-r--r-- | src/gui/widgets/TextFloat.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/Fader.cpp b/src/gui/widgets/Fader.cpp index 021252e..54c746f 100644 --- a/src/gui/widgets/Fader.cpp +++ b/src/gui/widgets/Fader.cpp @@ -415,12 +415,12 @@ Fader::showFloatText() // Reposition - we need to sum the relative positions up to the // topLevel or dialog to please move(). // - TQWidget *par = tqparentWidget(); + TQWidget *par = parentWidget(); TQPoint totalPos = this->pos(); - while (par->tqparentWidget() && !par->isTopLevel() && !par->isDialog()) { + while (par->parentWidget() && !par->isTopLevel() && !par->isDialog()) { totalPos += par->pos(); - par = par->tqparentWidget(); + par = par->parentWidget(); } // Move just top/right 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(); } |