diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/segment/TrackHeader.cpp | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/segment/TrackHeader.cpp')
-rw-r--r-- | src/gui/editors/segment/TrackHeader.cpp | 14 |
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() ) |