summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/parameters/InstrumentParameterPanel.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/parameters/InstrumentParameterPanel.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/parameters/InstrumentParameterPanel.cpp')
-rw-r--r--src/gui/editors/parameters/InstrumentParameterPanel.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/editors/parameters/InstrumentParameterPanel.cpp b/src/gui/editors/parameters/InstrumentParameterPanel.cpp
index 9437daf..a47a8a8 100644
--- a/src/gui/editors/parameters/InstrumentParameterPanel.cpp
+++ b/src/gui/editors/parameters/InstrumentParameterPanel.cpp
@@ -28,23 +28,23 @@
#include "base/Instrument.h"
#include "document/RosegardenGUIDoc.h"
#include <ksqueezedtextlabel.h>
-#include <qfontmetrics.h>
-#include <qframe.h>
-#include <qlabel.h>
-#include <qwidget.h>
+#include <tqfontmetrics.h>
+#include <tqframe.h>
+#include <tqlabel.h>
+#include <tqwidget.h>
namespace Rosegarden
{
InstrumentParameterPanel::InstrumentParameterPanel(RosegardenGUIDoc *doc,
- QWidget* parent)
- : QFrame(parent),
+ TQWidget* parent)
+ : TQFrame(parent),
m_instrumentLabel(new KSqueezedTextLabel(this)),
m_selectedInstrument(0),
m_doc(doc)
{
- QFontMetrics metrics(m_instrumentLabel->fontMetrics());
+ TQFontMetrics metrics(m_instrumentLabel->fontMetrics());
int width25 = metrics.width("1234567890123456789012345");
m_instrumentLabel->setFixedWidth(width25);