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/rulers/ControlRuler.cpp | |
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/rulers/ControlRuler.cpp')
-rw-r--r-- | src/gui/rulers/ControlRuler.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/rulers/ControlRuler.cpp b/src/gui/rulers/ControlRuler.cpp index c728093..ef61c50 100644 --- a/src/gui/rulers/ControlRuler.cpp +++ b/src/gui/rulers/ControlRuler.cpp @@ -62,11 +62,11 @@ const int ControlRuler::ItemHeightRange = 64; ControlRuler::ControlRuler(Segment *segment, RulerScale* rulerScale, - EditViewBase* tqparentView, + EditViewBase* parentView, TQCanvas* c, TQWidget* tqparent, const char* name, WFlags f) : RosegardenCanvasView(c, tqparent, name, f), - m_tqparentEditView(tqparentView), + m_parentEditView(parentView), m_mainHorizontalScrollBar(0), m_rulerScale(rulerScale), m_eventSelection(new EventSelection(*segment)), @@ -89,7 +89,7 @@ ControlRuler::ControlRuler(Segment *segment, setFixedHeight(tqsizeHint().height()); connect(this, TQT_SIGNAL(stateChange(const TQString&, bool)), - m_tqparentEditView, TQT_SLOT(slotStateChanged(const TQString&, bool))); + m_parentEditView, TQT_SLOT(slotStateChanged(const TQString&, bool))); m_numberFloat = new TextFloat(this); m_numberFloat->hide(); @@ -127,13 +127,13 @@ void ControlRuler::slotUpdateElementsHPos() ControlItem* item = dynamic_cast<ControlItem*>(*it); if (!item) continue; - tqlayoutItem(item); + layoutItem(item); } canvas()->update(); } -void ControlRuler::tqlayoutItem(ControlItem* item) +void ControlRuler::layoutItem(ControlItem* item) { timeT itemTime = item->getElementAdapter()->getTime(); @@ -146,7 +146,7 @@ void ControlRuler::tqlayoutItem(ControlItem* item) item->setWidth(width); - // RG_DEBUG << "ControlRuler::tqlayoutItem ControlItem x = " << x << " - width = " << width << endl; + // RG_DEBUG << "ControlRuler::layoutItem ControlItem x = " << x << " - width = " << width << endl; } void ControlRuler::setControlTool(ControlTool* tool) @@ -281,7 +281,7 @@ void ControlRuler::contentsMouseReleaseEvent(TQMouseEvent* e) m_eventSelection->getEndTime()); RG_DEBUG << "ControlRuler::contentsMouseReleaseEvent : adding command\n"; - m_tqparentEditView->addCommandToHistory(command); + m_parentEditView->addCommandToHistory(command); m_itemMoved = false; } @@ -310,7 +310,7 @@ void ControlRuler::contentsMouseMoveEvent(TQMouseEvent* e) // TQPoint totalPos = mapTo(tqtopLevelWidget(), TQPoint(0, 0)); - int scrollX = dynamic_cast<EditView*>(m_tqparentEditView)->getRawCanvasView()-> + int scrollX = dynamic_cast<EditView*>(m_parentEditView)->getRawCanvasView()-> horizontalScrollBar()->value(); /* @@ -393,10 +393,10 @@ void ControlRuler::createMenu() { RG_DEBUG << "ControlRuler::createMenu()\n"; - KMainWindow* tqparentMainWindow = dynamic_cast<KMainWindow*>(tqtopLevelWidget()); + KMainWindow* parentMainWindow = dynamic_cast<KMainWindow*>(tqtopLevelWidget()); - if (tqparentMainWindow && tqparentMainWindow->factory()) { - m_menu = static_cast<TQPopupMenu*>(tqparentMainWindow->factory()->container(m_menuName, tqparentMainWindow)); + if (parentMainWindow && parentMainWindow->factory()) { + m_menu = static_cast<TQPopupMenu*>(parentMainWindow->factory()->container(m_menuName, parentMainWindow)); if (!m_menu) { RG_DEBUG << "ControlRuler::createMenu() failed\n"; |