summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/parameters/InstrumentParameterPanel.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
commit458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch)
tree624583f2873febe23770bee3fa94b5c24bd59f4f /src/gui/editors/parameters/InstrumentParameterPanel.cpp
parent747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff)
downloadrosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz
rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/parameters/InstrumentParameterPanel.cpp')
-rw-r--r--src/gui/editors/parameters/InstrumentParameterPanel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editors/parameters/InstrumentParameterPanel.cpp b/src/gui/editors/parameters/InstrumentParameterPanel.cpp
index a47a8a8..d0f45d4 100644
--- a/src/gui/editors/parameters/InstrumentParameterPanel.cpp
+++ b/src/gui/editors/parameters/InstrumentParameterPanel.cpp
@@ -38,8 +38,8 @@ namespace Rosegarden
{
InstrumentParameterPanel::InstrumentParameterPanel(RosegardenGUIDoc *doc,
- TQWidget* parent)
- : TQFrame(parent),
+ TQWidget* tqparent)
+ : TQFrame(tqparent),
m_instrumentLabel(new KSqueezedTextLabel(this)),
m_selectedInstrument(0),
m_doc(doc)
@@ -48,7 +48,7 @@ InstrumentParameterPanel::InstrumentParameterPanel(RosegardenGUIDoc *doc,
int width25 = metrics.width("1234567890123456789012345");
m_instrumentLabel->setFixedWidth(width25);
- m_instrumentLabel->setAlignment(Qt::AlignCenter);
+ m_instrumentLabel->tqsetAlignment(TQt::AlignCenter);
}
void