summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/MarkerRuler.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/MarkerRuler.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/MarkerRuler.cpp')
-rw-r--r--src/gui/rulers/MarkerRuler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/rulers/MarkerRuler.cpp b/src/gui/rulers/MarkerRuler.cpp
index 938bfe5..749dfef 100644
--- a/src/gui/rulers/MarkerRuler.cpp
+++ b/src/gui/rulers/MarkerRuler.cpp
@@ -36,7 +36,7 @@
#include "commands/edit/ModifyMarkerCommand.h"
#include "document/MultiViewCommandHistory.h"
#include <kxmlguifactory.h>
-#include <brush.h>
+#include <tqbrush.h>
#include <tqcursor.h>
#include <tqfont.h>
#include <tqfontmetrics.h>
@@ -156,11 +156,11 @@ void
MarkerRuler::scrollHoriz(int x)
{
m_currentXOffset = static_cast<int>( -x / getHScaleFactor());
- repaint();
+ tqrepaint();
}
TQSize
-MarkerRuler::sizeHint() const
+MarkerRuler::tqsizeHint() const
{
int lastBar =
m_rulerScale->getLastVisibleBar();
@@ -172,7 +172,7 @@ MarkerRuler::sizeHint() const
}
TQSize
-MarkerRuler::minimumSizeHint() const
+MarkerRuler::tqminimumSizeHint() const
{
double firstBarWidth = m_rulerScale->getBarWidth(0) + m_xorigin;
@@ -366,7 +366,7 @@ MarkerRuler::paintEvent(TQPaintEvent*)
painter.setWorldXForm(false);
if (i >= 0)
- painter.drawText(textDrawPoint, TQString("%1").arg(i + 1));
+ painter.drawText(textDrawPoint, TQString("%1").tqarg(i + 1));
painter.setWorldXForm(enableXForm);
} else {