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/parameters/TrackParameterBox.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/parameters/TrackParameterBox.cpp')
-rw-r--r-- | src/gui/editors/parameters/TrackParameterBox.cpp | 204 |
1 files changed, 102 insertions, 102 deletions
diff --git a/src/gui/editors/parameters/TrackParameterBox.cpp b/src/gui/editors/parameters/TrackParameterBox.cpp index fc85346..3ddfa69 100644 --- a/src/gui/editors/parameters/TrackParameterBox.cpp +++ b/src/gui/editors/parameters/TrackParameterBox.cpp @@ -28,7 +28,7 @@ #include "TrackParameterBox.h" -#include <qlayout.h> +#include <tqlayout.h> #include <kapplication.h> #include <klocale.h> @@ -66,29 +66,29 @@ #include <kmessagebox.h> #include <ksqueezedtextlabel.h> #include <ktabwidget.h> -#include <qcolor.h> -#include <qdialog.h> -#include <qfont.h> -#include <qfontmetrics.h> -#include <qframe.h> -#include <qlabel.h> -#include <qpixmap.h> -#include <qpushbutton.h> -#include <qregexp.h> -#include <qscrollview.h> -#include <qstring.h> -#include <qtooltip.h> -#include <qvbox.h> -#include <qwidget.h> -#include <qwidgetstack.h> -#include <qcheckbox.h> +#include <tqcolor.h> +#include <tqdialog.h> +#include <tqfont.h> +#include <tqfontmetrics.h> +#include <tqframe.h> +#include <tqlabel.h> +#include <tqpixmap.h> +#include <tqpushbutton.h> +#include <tqregexp.h> +#include <tqscrollview.h> +#include <tqstring.h> +#include <tqtooltip.h> +#include <tqvbox.h> +#include <tqwidget.h> +#include <tqwidgetstack.h> +#include <tqcheckbox.h> namespace Rosegarden { TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, - QWidget *parent) + TQWidget *parent) : RosegardenParameterBox(i18n("Track"), i18n("Track Parameters"), parent), @@ -97,9 +97,9 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, m_lowestPlayable(0), m_selectedTrackId( -1) { - QFont font(m_font); - QFont title_font(m_font); - QFontMetrics metrics(font); + TQFont font(m_font); + TQFont title_font(m_font); + TQFontMetrics metrics(font); int width11 = metrics.width("12345678901"); int width20 = metrics.width("12345678901234567890"); int width22 = metrics.width("1234567890123456789012"); @@ -109,7 +109,7 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // Set up default expansions for the collapsing elements KConfig *config = kapp->config(); - QString groupTemp = config->group(); + TQString groupTemp = config->group(); config->setGroup("CollapsingFrame"); bool expanded = config->readBoolEntry("trackparametersplayback", true); config->writeEntry("trackparametersplayback", expanded); @@ -121,7 +121,7 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, config->writeEntry("trackstaffgroup", expanded); config->setGroup(groupTemp); - QGridLayout *mainLayout = new QGridLayout(this, 5, 1, 2, 1); + TQGridLayout *mainLayout = new TQGridLayout(this, 5, 1, 2, 1); int row = 0; @@ -136,9 +136,9 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // CollapsingFrame *cframe = new CollapsingFrame(i18n("Playback parameters"), this, "trackparametersplayback"); - m_playbackGroup = new QFrame(cframe); + m_playbackGroup = new TQFrame(cframe); cframe->setWidget(m_playbackGroup); - QGridLayout *groupLayout = new QGridLayout(m_playbackGroup, 3, 3, 3, 2); + TQGridLayout *groupLayout = new TQGridLayout(m_playbackGroup, 3, 3, 3, 2); // playback group title // @@ -147,7 +147,7 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // playback device // // row++; - QLabel *devLabel = new QLabel(i18n("Device"), m_playbackGroup); + TQLabel *devLabel = new TQLabel(i18n("Device"), m_playbackGroup); groupLayout->addWidget(devLabel, row, 0); m_playDevice = new KComboBox(m_playbackGroup); m_playDevice->setMinimumWidth(width25); @@ -156,7 +156,7 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // playback instrument // row++; - QLabel *insLabel = new QLabel(i18n("Instrument"), m_playbackGroup); + TQLabel *insLabel = new TQLabel(i18n("Instrument"), m_playbackGroup); groupLayout->addMultiCellWidget(insLabel, row, row, 0, 1); m_instrument = new KComboBox(m_playbackGroup); m_instrument->setSizeLimit( 16 ); @@ -171,16 +171,16 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // cframe = new CollapsingFrame(i18n("Recording filters"), this, "trackparametersrecord"); - m_recordGroup = new QFrame(cframe); + m_recordGroup = new TQFrame(cframe); cframe->setWidget(m_recordGroup); - groupLayout = new QGridLayout(m_recordGroup, 3, 3, 3, 2); + groupLayout = new TQGridLayout(m_recordGroup, 3, 3, 3, 2); // recording group title // row = 0; // recording device - groupLayout->addWidget(new QLabel(i18n("Device"), m_recordGroup), row, 0); + groupLayout->addWidget(new TQLabel(i18n("Device"), m_recordGroup), row, 0); m_recDevice = new KComboBox(m_recordGroup); m_recDevice->setMinimumWidth(width25); groupLayout->addMultiCellWidget(m_recDevice, row, row, 1, 2); @@ -188,7 +188,7 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // recording channel // row++; - groupLayout->addMultiCellWidget(new QLabel(i18n("Channel"), m_recordGroup), row, row, 0, 1); + groupLayout->addMultiCellWidget(new TQLabel(i18n("Channel"), m_recordGroup), row, row, 0, 1); m_recChannel = new KComboBox(m_recordGroup); m_recChannel->setSizeLimit( 17 ); m_recChannel->setMinimumWidth(width11); @@ -202,9 +202,9 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // cframe = new CollapsingFrame(i18n("Staff export options"), this, "staffoptions"); - m_staffGroup = new QFrame(cframe); + m_staffGroup = new TQFrame(cframe); cframe->setWidget(m_staffGroup); - groupLayout = new QGridLayout(m_staffGroup, 2, 2, 2, 2); + groupLayout = new TQGridLayout(m_staffGroup, 2, 2, 2, 2); groupLayout->setColStretch(1, 1); @@ -217,7 +217,7 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // per-staff (rather than per-score) basis is something the author of the // LilyPond documentation has no idea how to do, so we settle for this, // which is not as nice, but actually a lot easier to implement. - m_staffGrpLbl = new QLabel(i18n("Notation size:"), m_staffGroup); + m_staffGrpLbl = new TQLabel(i18n("Notation size:"), m_staffGroup); groupLayout->addWidget(m_staffGrpLbl, row, 0, AlignLeft); m_staffSizeCombo = new KComboBox(m_staffGroup); m_staffSizeCombo->setMinimumWidth(width11); @@ -230,7 +230,7 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // Staff bracketing (export only at the moment, but using this for GUI // rendering would be nice in the future!) //!!! row++; - m_grandStaffLbl = new QLabel(i18n("Bracket type:"), m_staffGroup); + m_grandStaffLbl = new TQLabel(i18n("Bracket type:"), m_staffGroup); groupLayout->addWidget(m_grandStaffLbl, row, 0, AlignLeft); m_staffBracketCombo = new KComboBox(m_staffGroup); m_staffBracketCombo->setMinimumWidth(width11); @@ -252,30 +252,30 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // cframe = new CollapsingFrame(i18n("Create segments with"), this, "trackparametersdefaults"); - m_defaultsGroup = new QFrame(cframe); + m_defaultsGroup = new TQFrame(cframe); cframe->setWidget(m_defaultsGroup); - groupLayout = new QGridLayout(m_defaultsGroup, 6, 6, 3, 2); + groupLayout = new TQGridLayout(m_defaultsGroup, 6, 6, 3, 2); groupLayout->setColStretch(1, 1); row = 0; // preset picker - m_psetLbl = new QLabel(i18n("Preset"), m_defaultsGroup); + m_psetLbl = new TQLabel(i18n("Preset"), m_defaultsGroup); groupLayout->addWidget(m_psetLbl, row, 0, AlignLeft); - m_presetLbl = new QLabel(i18n("<none>"), m_defaultsGroup); - m_presetLbl->setFrameStyle(QFrame::Panel | QFrame::Sunken); + m_presetLbl = new TQLabel(i18n("<none>"), m_defaultsGroup); + m_presetLbl->setFrameStyle(TQFrame::Panel | TQFrame::Sunken); m_presetLbl->setFixedWidth(width20); groupLayout->addMultiCellWidget(m_presetLbl, row, row, 1, 3); - m_presetButton = new QPushButton(i18n("Load"), m_defaultsGroup); + m_presetButton = new TQPushButton(i18n("Load"), m_defaultsGroup); groupLayout->addMultiCellWidget(m_presetButton, row, row, 4, 5); // default clef // row++; - m_clefLbl = new QLabel(i18n("Clef"), m_defaultsGroup); + m_clefLbl = new TQLabel(i18n("Clef"), m_defaultsGroup); groupLayout->addWidget(m_clefLbl, row, 0, AlignLeft); m_defClef = new KComboBox(m_defaultsGroup); m_defClef->setMinimumWidth(width11); @@ -302,16 +302,16 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // default transpose // - m_transpLbl = new QLabel(i18n("Transpose"), m_defaultsGroup); + m_transpLbl = new TQLabel(i18n("Transpose"), m_defaultsGroup); groupLayout->addMultiCellWidget(m_transpLbl, row, row, 3, 4, AlignRight); m_defTranspose = new KComboBox(m_defaultsGroup); - connect(m_defTranspose, SIGNAL(activated(int)), - SLOT(slotTransposeIndexChanged(int))); + connect(m_defTranspose, TQT_SIGNAL(activated(int)), + TQT_SLOT(slotTransposeIndexChanged(int))); int transposeRange = 48; for (int i = -transposeRange; i < transposeRange + 1; i++) { - m_defTranspose->insertItem(QString("%1").arg(i)); + m_defTranspose->insertItem(TQString("%1").arg(i)); if (i == 0) m_defTranspose->setCurrentItem(m_defTranspose->count() - 1); } @@ -321,20 +321,20 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // highest/lowest playable note // row++; - m_rangeLbl = new QLabel(i18n("Pitch"), m_defaultsGroup); + m_rangeLbl = new TQLabel(i18n("Pitch"), m_defaultsGroup); groupLayout->addMultiCellWidget(m_rangeLbl, row, row, 0, 0); - groupLayout->addWidget(new QLabel(i18n("Lowest"), m_defaultsGroup), row, 1, AlignRight); + groupLayout->addWidget(new TQLabel(i18n("Lowest"), m_defaultsGroup), row, 1, AlignRight); - m_lowButton = new QPushButton(i18n("---"), m_defaultsGroup); - QToolTip::add + m_lowButton = new TQPushButton(i18n("---"), m_defaultsGroup); + TQToolTip::add (m_lowButton, i18n("Choose the lowest suggested playable note, using a staff")); groupLayout->addMultiCellWidget(m_lowButton, row, row, 2, 2); - groupLayout->addWidget(new QLabel(i18n("Highest"), m_defaultsGroup), row, 3, AlignRight); + groupLayout->addWidget(new TQLabel(i18n("Highest"), m_defaultsGroup), row, 3, AlignRight); - m_highButton = new QPushButton(i18n("---"), m_defaultsGroup); - QToolTip::add + m_highButton = new TQPushButton(i18n("---"), m_defaultsGroup); + TQToolTip::add (m_highButton, i18n("Choose the highest suggested playable note, using a staff")); groupLayout->addMultiCellWidget(m_highButton, row, row, 4, 5); @@ -343,7 +343,7 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, // default color // row++; - m_colorLbl = new QLabel(i18n("Color"), m_defaultsGroup); + m_colorLbl = new TQLabel(i18n("Color"), m_defaultsGroup); groupLayout->addWidget(m_colorLbl, row, 0, AlignLeft); m_defColor = new KComboBox(false, m_defaultsGroup); m_defColor->setSizeLimit(20); @@ -361,43 +361,43 @@ TrackParameterBox::TrackParameterBox( RosegardenGUIDoc *doc, mainLayout->setRowStretch(mainLayout->numRows() - 1, 1); // Connections - connect( m_playDevice, SIGNAL(activated(int)), - this, SLOT(slotPlaybackDeviceChanged(int))); + connect( m_playDevice, TQT_SIGNAL(activated(int)), + this, TQT_SLOT(slotPlaybackDeviceChanged(int))); - connect( m_instrument, SIGNAL(activated(int)), - this, SLOT(slotInstrumentChanged(int))); + connect( m_instrument, TQT_SIGNAL(activated(int)), + this, TQT_SLOT(slotInstrumentChanged(int))); - connect( m_recDevice, SIGNAL(activated(int)), - this, SLOT(slotRecordingDeviceChanged(int))); + connect( m_recDevice, TQT_SIGNAL(activated(int)), + this, TQT_SLOT(slotRecordingDeviceChanged(int))); - connect( m_recChannel, SIGNAL(activated(int)), - this, SLOT(slotRecordingChannelChanged(int))); + connect( m_recChannel, TQT_SIGNAL(activated(int)), + this, TQT_SLOT(slotRecordingChannelChanged(int))); - connect( m_defClef, SIGNAL(activated(int)), - this, SLOT(slotClefChanged(int))); + connect( m_defClef, TQT_SIGNAL(activated(int)), + this, TQT_SLOT(slotClefChanged(int))); // Detect when the document colours are updated - connect(m_doc, SIGNAL(docColoursChanged()), - this, SLOT(slotDocColoursChanged())); + connect(m_doc, TQT_SIGNAL(docColoursChanged()), + this, TQT_SLOT(slotDocColoursChanged())); // handle colour combo changes - connect(m_defColor, SIGNAL(activated(int)), - SLOT(slotColorChanged(int))); + connect(m_defColor, TQT_SIGNAL(activated(int)), + TQT_SLOT(slotColorChanged(int))); - connect(m_highButton, SIGNAL(released()), - SLOT(slotHighestPressed())); + connect(m_highButton, TQT_SIGNAL(released()), + TQT_SLOT(slotHighestPressed())); - connect(m_lowButton, SIGNAL(released()), - SLOT(slotLowestPressed())); + connect(m_lowButton, TQT_SIGNAL(released()), + TQT_SLOT(slotLowestPressed())); - connect(m_presetButton, SIGNAL(released()), - SLOT(slotPresetPressed())); + connect(m_presetButton, TQT_SIGNAL(released()), + TQT_SLOT(slotPresetPressed())); - connect(m_staffSizeCombo, SIGNAL(activated(int)), - this, SLOT(slotStaffSizeChanged(int))); + connect(m_staffSizeCombo, TQT_SIGNAL(activated(int)), + this, TQT_SLOT(slotStaffSizeChanged(int))); - connect(m_staffBracketCombo, SIGNAL(activated(int)), - this, SLOT(slotStaffBracketChanged(int))); + connect(m_staffBracketCombo, TQT_SIGNAL(activated(int)), + this, TQT_SLOT(slotStaffBracketChanged(int))); } TrackParameterBox::~TrackParameterBox() @@ -446,9 +446,9 @@ TrackParameterBox::populatePlaybackDeviceList() if (! (*it)) continue; // sanity check - //QString iname(strtoqstr((*it)->getPresentationName())); - QString iname(strtoqstr((*it)->getName())); - QString pname(strtoqstr((*it)->getProgramName())); + //TQString iname(strtoqstr((*it)->getPresentationName())); + TQString iname(strtoqstr((*it)->getName())); + TQString pname(strtoqstr((*it)->getProgramName())); Device *device = (*it)->getDevice(); DeviceId devId = device->getId(); @@ -459,16 +459,16 @@ TrackParameterBox::populatePlaybackDeviceList() (Instrument::SYNTH_PLUGIN_POSITION); if (plugin) { pname = strtoqstr(plugin->getProgram()); - QString identifier = strtoqstr(plugin->getIdentifier()); + TQString identifier = strtoqstr(plugin->getIdentifier()); if (identifier != "") { - QString type, soName, label; + TQString type, soName, label; PluginIdentifier::parseIdentifier (identifier, type, soName, label); if (pname == "") { pname = strtoqstr(plugin->getDistinctiveConfigurationText()); } if (pname != "") { - pname = QString("%1: %2").arg(label).arg(pname); + pname = TQString("%1: %2").arg(label).arg(pname); } else { pname = label; } @@ -478,7 +478,7 @@ TrackParameterBox::populatePlaybackDeviceList() if (devId != (DeviceId)(currentDevId)) { currentDevId = int(devId); - QString deviceName = strtoqstr(device->getName()); + TQString deviceName = strtoqstr(device->getName()); m_playDevice->insertItem(deviceName); m_playDeviceIds.push_back(currentDevId); } @@ -545,9 +545,9 @@ TrackParameterBox::populateRecordingDeviceList() if (dev) { if (dev->getDirection() == MidiDevice::Record && dev->isRecording()) { - QString connection = strtoqstr(dev->getConnection()); + TQString connection = strtoqstr(dev->getConnection()); // remove trailing "(duplex)", "(read only)", "(write only)" etc - connection.replace(QRegExp("\\s*\\([^)0-9]+\\)\\s*$"), ""); + connection.replace(TQRegExp("\\s*\\([^)0-9]+\\)\\s*$"), ""); m_recDevice->insertItem(connection); m_recDeviceIds.push_back(dev->getId()); } @@ -556,7 +556,7 @@ TrackParameterBox::populateRecordingDeviceList() m_recChannel->insertItem(i18n("All")); for (int i = 1; i < 17; ++i) { - m_recChannel->insertItem(QString::number(i)); + m_recChannel->insertItem(TQString::number(i)); } m_recDevice->setEnabled(true); @@ -603,8 +603,8 @@ TrackParameterBox::updateHighLow() // m_highButton->setText(i18n("High: %1").arg(highest.getAsString(useSharps, includeOctave, base))); // m_lowButton->setText(i18n("Low: %1").arg(lowest.getAsString(useSharps, includeOctave, base))); - m_highButton->setText(QString("%1").arg(highest.getAsString(useSharps, includeOctave, base))); - m_lowButton->setText(QString("%1").arg(lowest.getAsString(useSharps, includeOctave, base))); + m_highButton->setText(TQString("%1").arg(highest.getAsString(useSharps, includeOctave, base))); + m_lowButton->setText(TQString("%1").arg(lowest.getAsString(useSharps, includeOctave, base))); m_presetLbl->setEnabled(false); } @@ -624,7 +624,7 @@ TrackParameterBox::slotUpdateControls(int /*dummy*/) return ; m_defClef->setCurrentItem(trk->getClef()); - m_defTranspose->setCurrentItem(QString("%1").arg(trk->getTranspose()), true); + m_defTranspose->setCurrentItem(TQString("%1").arg(trk->getTranspose()), true); m_defColor->setCurrentItem(trk->getColor()); m_highestPlayable = trk->getHighestPlayable(); m_lowestPlayable = trk->getLowestPlayable(); @@ -657,7 +657,7 @@ TrackParameterBox::slotSelectedTrackNameChanged() RG_DEBUG << "TrackParameterBox::sotSelectedTrackNameChanged()\n"; Composition &comp = m_doc->getComposition(); Track *trk = comp.getTrackById(m_selectedTrackId); - QString m_trackName = trk->getLabel(); + TQString m_trackName = trk->getLabel(); if (m_trackName.isEmpty()) m_trackName = i18n("<untitled>"); else @@ -782,7 +782,7 @@ TrackParameterBox::slotRecordingChannelChanged(int index) } void -TrackParameterBox::slotInstrumentLabelChanged(InstrumentId id, QString label) +TrackParameterBox::slotInstrumentLabelChanged(InstrumentId id, TQString label) { RG_DEBUG << "TrackParameterBox::slotInstrumentLabelChanged(" << id << ") = " << label << "\n"; populatePlaybackDeviceList(); @@ -822,7 +822,7 @@ TrackParameterBox::slotTransposeIndexChanged(int index) } void -TrackParameterBox::slotTransposeTextChanged(QString text) +TrackParameterBox::slotTransposeTextChanged(TQString text) { if (text.isEmpty()) return ; @@ -843,8 +843,8 @@ TrackParameterBox::slotDocColoursChanged() unsigned int i = 0; for (RCMap::const_iterator it = temp.begin(); it != temp.end(); ++it) { - QString qtrunc(strtoqstr(it->second.second)); - QPixmap colour(15, 15); + TQString qtrunc(strtoqstr(it->second.second)); + TQPixmap colour(15, 15); colour.fill(GUIPalette::convertColour(it->second.first)); if (qtrunc == "") { m_defColor->insertItem(colour, i18n("Default"), i); @@ -877,9 +877,9 @@ TrackParameterBox::slotColorChanged(int index) if (index == m_addColourPos) { ColourMap newMap = m_doc->getComposition().getSegmentColourMap(); - QColor newColour; + TQColor newColour; bool ok = false; - QString newName = KLineEditDlg::getText(i18n("New Color Name"), i18n("Enter new name"), + TQString newName = KLineEditDlg::getText(i18n("New Color Name"), i18n("Enter new name"), i18n("New"), &ok); if ((ok == true) && (!newName.isEmpty())) { KColorDialog box(this, "", true); @@ -909,7 +909,7 @@ TrackParameterBox::slotHighestPressed() PitchPickerDialog dialog(0, m_highestPlayable, i18n("Highest playable note")); - if (dialog.exec() == QDialog::Accepted) { + if (dialog.exec() == TQDialog::Accepted) { m_highestPlayable = dialog.getPitch(); updateHighLow(); } @@ -929,7 +929,7 @@ TrackParameterBox::slotLowestPressed() PitchPickerDialog dialog(0, m_lowestPlayable, i18n("Lowest playable note")); - if (dialog.exec() == QDialog::Accepted) { + if (dialog.exec() == TQDialog::Accepted) { m_lowestPlayable = dialog.getPitch(); updateHighLow(); } @@ -950,7 +950,7 @@ TrackParameterBox::slotPresetPressed() PresetHandlerDialog dialog(this); try { - if (dialog.exec() == QDialog::Accepted) { + if (dialog.exec() == TQDialog::Accepted) { m_presetLbl->setText(dialog.getName()); trk->setPresetLabel(dialog.getName()); if (dialog.getConvertAllSegments()) { @@ -962,7 +962,7 @@ TrackParameterBox::slotPresetPressed() m_doc->getCommandHistory()->addCommand(command); } m_defClef->setCurrentItem(dialog.getClef()); - m_defTranspose->setCurrentItem(QString("%1").arg + m_defTranspose->setCurrentItem(TQString("%1").arg (dialog.getTranspose()), true); m_highestPlayable = dialog.getHighRange(); |