diff options
Diffstat (limited to 'src/gui/studio/MidiProgramsEditor.cpp')
-rw-r--r-- | src/gui/studio/MidiProgramsEditor.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/studio/MidiProgramsEditor.cpp b/src/gui/studio/MidiProgramsEditor.cpp index e69b1a9..08c0114 100644 --- a/src/gui/studio/MidiProgramsEditor.cpp +++ b/src/gui/studio/MidiProgramsEditor.cpp @@ -60,11 +60,11 @@ namespace Rosegarden { MidiProgramsEditor::MidiProgramsEditor(BankEditorDialog* bankEditor, - TQWidget* parent, + TQWidget* tqparent, const char* name) : NameSetEditor(bankEditor, i18n("Bank and Program details"), - parent, name, i18n("Programs"), true), + tqparent, name, i18n("Programs"), true), m_device(0), m_bankList(bankEditor->getBankList()), m_programList(bankEditor->getProgramList()), @@ -77,9 +77,9 @@ MidiProgramsEditor::MidiProgramsEditor(BankEditorDialog* bankEditor, } TQWidget * -MidiProgramsEditor::makeAdditionalWidget(TQWidget *parent) +MidiProgramsEditor::makeAdditionalWidget(TQWidget *tqparent) { - TQFrame *frame = new TQFrame(parent); + TQFrame *frame = new TQFrame(tqparent); m_percussion = new TQCheckBox(frame); m_msb = new TQSpinBox(frame); @@ -251,7 +251,7 @@ MidiProgramsEditor::populate(TQListViewItem* item) getEntryButton(i)->setPixmap(keyPixmap); TQToolTip::add (getEntryButton(i), - i18n("Key Mapping: %1").arg( + i18n("Key Mapping: %1").tqarg( strtoqstr(m_device->getKeyMappingForProgram(*it)->getName()))); } @@ -391,7 +391,7 @@ MidiProgramsEditor::slotNameChanged(const TQString& programName) return ; } - TQString senderName = sender()->name(); + TQString senderName = TQT_TQOBJECT_CONST(sender())->name(); // Adjust value back to zero rated // @@ -444,9 +444,9 @@ MidiProgramsEditor::slotNameChanged(const TQString& programName) void MidiProgramsEditor::slotEntryButtonPressed() { - TQPushButton* button = dynamic_cast<TQPushButton*>(const_cast<TQObject *>(sender())); + TQPushButton* button = dynamic_cast<TQPushButton*>(TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))); if (!button) { - RG_DEBUG << "MidiProgramsEditor::slotEntryButtonPressed() : %%% ERROR - signal sender is not a QPushButton\n"; + RG_DEBUG << "MidiProgramsEditor::slotEntryButtonPressed() : %%% ERROR - signal sender is not a TQPushButton\n"; return ; } @@ -538,7 +538,7 @@ MidiProgramsEditor::slotEntryMenuItemSelected(int i) btn->setPixmap(TQPixmap(file)); } TQToolTip::add - (btn, i18n("Key Mapping: %1").arg(strtoqstr(newMapping))); + (btn, i18n("Key Mapping: %1").tqarg(strtoqstr(newMapping))); } btn->setEnabled(haveKeyMappings); } |