summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/HeadersGroup.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/notation/HeadersGroup.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-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/notation/HeadersGroup.cpp')
-rw-r--r--src/gui/editors/notation/HeadersGroup.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/editors/notation/HeadersGroup.cpp b/src/gui/editors/notation/HeadersGroup.cpp
index c0a2de0..f7dcc82 100644
--- a/src/gui/editors/notation/HeadersGroup.cpp
+++ b/src/gui/editors/notation/HeadersGroup.cpp
@@ -27,10 +27,10 @@
#include <limits>
-#include <qsize.h>
-#include <qwidget.h>
-#include <qvbox.h>
-#include <qlabel.h>
+#include <tqsize.h>
+#include <tqwidget.h>
+#include <tqvbox.h>
+#include <tqlabel.h>
#include "HeadersGroup.h"
#include "TrackHeader.h"
@@ -43,8 +43,8 @@ namespace Rosegarden
HeadersGroup::
-HeadersGroup(QWidget *parent, NotationView * nv, Composition * comp) :
- QVBox(parent),
+HeadersGroup(TQWidget *parent, NotationView * nv, Composition * comp) :
+ TQVBox(parent),
m_notationView(nv),
m_composition(comp),
m_usedHeight(0),
@@ -83,7 +83,7 @@ void
HeadersGroup::completeToHeight(int height)
{
if (height > m_usedHeight) {
- if (!m_filler) m_filler = new QLabel(this);
+ if (!m_filler) m_filler = new TQLabel(this);
m_filler->setFixedHeight(height - m_usedHeight);
}
}
@@ -149,7 +149,7 @@ HeadersGroup::setCurrent(TrackId trackId)
}
void
-HeadersGroup::resizeEvent(QResizeEvent * ev)
+HeadersGroup::resizeEvent(TQResizeEvent * ev)
{
// Needed to avoid gray zone at the right of headers
// when width is decreasing