summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/ControlRuler.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
commit6ca08e7a881c0c97f338e0085f75af04ec08ad04 (patch)
tree5462bef0f060df1c19e3fcb98250e5cfa24edc11 /src/gui/rulers/ControlRuler.cpp
parent4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (diff)
downloadrosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.tar.gz
rosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.
Diffstat (limited to 'src/gui/rulers/ControlRuler.cpp')
-rw-r--r--src/gui/rulers/ControlRuler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/rulers/ControlRuler.cpp b/src/gui/rulers/ControlRuler.cpp
index e9db070..94c66e8 100644
--- a/src/gui/rulers/ControlRuler.cpp
+++ b/src/gui/rulers/ControlRuler.cpp
@@ -86,7 +86,7 @@ ControlRuler::ControlRuler(Segment *segment,
m_selectionRect->setPen(TQt::red);
- setFixedHeight(sizeHint().height());
+ setFixedHeight(tqsizeHint().height());
connect(this, TQT_SIGNAL(stateChange(const TQString&, bool)),
m_parentEditView, TQT_SLOT(slotStateChanged(const TQString&, bool)));
@@ -113,7 +113,7 @@ void ControlRuler::slotUpdate()
canvas()->setAllChanged(); // TODO: be a bit more subtle, call setChanged(<time area>)
canvas()->update();
- repaint();
+ tqrepaint();
}
void ControlRuler::slotUpdateElementsHPos()
@@ -308,7 +308,7 @@ void ControlRuler::contentsMouseMoveEvent(TQMouseEvent* e)
// Borrowed from Rotary - compute total position within window
//
- TQPoint totalPos = mapTo(topLevelWidget(), TQPoint(0, 0));
+ TQPoint totalPos = mapTo(tqtopLevelWidget(), TQPoint(0, 0));
int scrollX = dynamic_cast<EditView*>(m_parentEditView)->getRawCanvasView()->
horizontalScrollBar()->value();
@@ -335,7 +335,7 @@ void ControlRuler::contentsMouseMoveEvent(TQMouseEvent* e)
// set value to highest in selection
if (item->getValue() >= value) {
value = item->getValue();
- m_numberFloat->setText(TQString("%1").arg(value));
+ m_numberFloat->setText(TQString("%1").tqarg(value));
}
}
}
@@ -393,7 +393,7 @@ void ControlRuler::createMenu()
{
RG_DEBUG << "ControlRuler::createMenu()\n";
- KMainWindow* parentMainWindow = dynamic_cast<KMainWindow*>(topLevelWidget());
+ KMainWindow* parentMainWindow = dynamic_cast<KMainWindow*>(tqtopLevelWidget());
if (parentMainWindow && parentMainWindow->factory()) {
m_menu = static_cast<TQPopupMenu*>(parentMainWindow->factory()->container(m_menuName, parentMainWindow));