summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/TrackHeader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/TrackHeader.cpp')
-rw-r--r--src/gui/editors/segment/TrackHeader.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/editors/segment/TrackHeader.cpp b/src/gui/editors/segment/TrackHeader.cpp
index d7ca6d3..367d02b 100644
--- a/src/gui/editors/segment/TrackHeader.cpp
+++ b/src/gui/editors/segment/TrackHeader.cpp
@@ -25,10 +25,10 @@
#include "TrackHeader.h"
-#include <qheader.h>
-#include <qpainter.h>
-#include <qrect.h>
-#include <qwidget.h>
+#include <tqheader.h>
+#include <tqpainter.h>
+#include <tqrect.h>
+#include <tqwidget.h>
namespace Rosegarden
@@ -38,9 +38,9 @@ TrackHeader::~TrackHeader()
{}
void
-TrackHeader::paintEvent(QPaintEvent *e)
+TrackHeader::paintEvent(TQPaintEvent *e)
{
- QPainter p( this );
+ TQPainter p( this );
p.setPen( colorGroup().buttonText() );
int pos = (orientation() == Horizontal)
? e->rect().left()
@@ -52,7 +52,7 @@ TrackHeader::paintEvent(QPaintEvent *e)
else
id = 0;
for ( int i = id; i < count(); i++ ) {
- QRect r = sRect( i );
+ TQRect r = sRect( i );
paintSection( &p, i, r );
if ( orientation() == Horizontal && r. right() >= e->rect().right() ||
orientation() == Vertical && r. bottom() >= e->rect().bottom() )