summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/TrackVUMeter.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/segment/TrackVUMeter.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/segment/TrackVUMeter.cpp')
-rw-r--r--src/gui/editors/segment/TrackVUMeter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/editors/segment/TrackVUMeter.cpp b/src/gui/editors/segment/TrackVUMeter.cpp
index a638ee7..f8acbe8 100644
--- a/src/gui/editors/segment/TrackVUMeter.cpp
+++ b/src/gui/editors/segment/TrackVUMeter.cpp
@@ -26,15 +26,15 @@
#include "TrackVUMeter.h"
#include "gui/widgets/VUMeter.h"
-#include <qfont.h>
-#include <qstring.h>
-#include <qwidget.h>
+#include <tqfont.h>
+#include <tqstring.h>
+#include <tqwidget.h>
namespace Rosegarden
{
-TrackVUMeter::TrackVUMeter(QWidget *parent,
+TrackVUMeter::TrackVUMeter(TQWidget *parent,
VUMeterType type,
int width,
int height,
@@ -45,7 +45,7 @@ TrackVUMeter::TrackVUMeter(QWidget *parent,
{
setAlignment(AlignCenter);
- QFont font;
+ TQFont font;
font.setPointSize(font.pointSize() * 95 / 100);
if (font.pointSize() > 14)
font.setPointSize(14);
@@ -67,7 +67,7 @@ TrackVUMeter::meterStop()
{
setMinimumHeight(m_textHeight);
setMaximumHeight(m_textHeight);
- setText(QString("%1").arg(m_position + 1));
+ setText(TQString("%1").arg(m_position + 1));
if (m_active) {
m_active = false;
update();