summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/MarkerRuler.cpp
diff options
context:
space:
mode:
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 749dfef..938bfe5 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 <tqbrush.h>
+#include <brush.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());
- tqrepaint();
+ repaint();
}
TQSize
-MarkerRuler::tqsizeHint() const
+MarkerRuler::sizeHint() const
{
int lastBar =
m_rulerScale->getLastVisibleBar();
@@ -172,7 +172,7 @@ MarkerRuler::tqsizeHint() const
}
TQSize
-MarkerRuler::tqminimumSizeHint() const
+MarkerRuler::minimumSizeHint() 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").tqarg(i + 1));
+ painter.drawText(textDrawPoint, TQString("%1").arg(i + 1));
painter.setWorldXForm(enableXForm);
} else {