summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/TempoRuler.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit1905a36716979889e47bb0fdd7bf33c6204c5a6d (patch)
tree0daef2425269e8053435f4f7e734091d72e27be0 /src/gui/rulers/TempoRuler.cpp
parent05768569bc9c8b3eb75c837d305058fc280db63c (diff)
downloadrosegarden-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/rulers/TempoRuler.cpp')
-rw-r--r--src/gui/rulers/TempoRuler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/rulers/TempoRuler.cpp b/src/gui/rulers/TempoRuler.cpp
index f5f600a..9928541 100644
--- a/src/gui/rulers/TempoRuler.cpp
+++ b/src/gui/rulers/TempoRuler.cpp
@@ -66,7 +66,7 @@ namespace Rosegarden
TempoRuler::TempoRuler(RulerScale *rulerScale,
RosegardenGUIDoc *doc,
- KMainWindow *tqparentMainWindow,
+ KMainWindow *parentMainWindow,
double xorigin,
int height,
bool small,
@@ -96,7 +96,7 @@ TempoRuler::TempoRuler(RulerScale *rulerScale,
m_composition(&doc->getComposition()),
m_rulerScale(rulerScale),
m_menu(0),
- m_tqparentMainWindow(tqparentMainWindow),
+ m_parentMainWindow(parentMainWindow),
m_fontMetrics(m_boldFont)
{
// m_font.setPointSize(m_small ? 9 : 11);
@@ -165,7 +165,7 @@ TempoRuler::~TempoRuler()
{
// we have to do this so that the menu is re-created properly
// when the main window is itself recreated (on a File->New for instance)
- KXMLGUIFactory* factory = m_tqparentMainWindow->factory();
+ KXMLGUIFactory* factory = m_parentMainWindow->factory();
if (factory)
factory->removeClient(this);
}
@@ -614,12 +614,12 @@ TempoRuler::showTextFloat(tempoT tempo, tempoT target,
// std::cerr << "cp = " << cp.x() << "," << cp.y() << ", tempo = " << qpm << std::endl;
TQPoint mp = cp + pos();
- TQWidget *tqparent = tqparentWidget();
- while (tqparent->tqparentWidget() &&
+ TQWidget *tqparent = parentWidget();
+ while (tqparent->parentWidget() &&
!tqparent->isTopLevel() &&
!tqparent->isDialog()) {
mp += tqparent->pos();
- tqparent = tqparent->tqparentWidget();
+ tqparent = tqparent->parentWidget();
}
int yoff = cp.y() + m_textFloat->height() + 3;
@@ -1074,7 +1074,7 @@ TempoRuler::createMenu()
{
setXMLFile("temporuler.rc");
- KXMLGUIFactory* factory = m_tqparentMainWindow->factory();
+ KXMLGUIFactory* factory = m_parentMainWindow->factory();
factory->addClient(this);
TQWidget* tmp = factory->container("tempo_ruler_menu", this);