From 9b054308cef27a642eaa6e9a86db215151468e0b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 9 Dec 2023 18:25:42 +0900 Subject: Remove various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- src/gui/rulers/TempoRuler.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/gui/rulers/TempoRuler.cpp') diff --git a/src/gui/rulers/TempoRuler.cpp b/src/gui/rulers/TempoRuler.cpp index 5f31a90..c987d57 100644 --- a/src/gui/rulers/TempoRuler.cpp +++ b/src/gui/rulers/TempoRuler.cpp @@ -122,37 +122,37 @@ TempoRuler::TempoRuler(RulerScale *rulerScale, TQIconSet icon; icon = TQIconSet(TQPixmap(pixmapDir + "/toolbar/event-insert-tempo.png")); - new TDEAction(i18n("Insert Tempo Change"), icon, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Insert Tempo Change"), icon, 0, this, TQT_SLOT(slotInsertTempoHere()), actionCollection(), "insert_tempo_here"); - new TDEAction(i18n("Insert Tempo Change at Playback Position"), 0, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Insert Tempo Change at Playback Position"), 0, 0, this, TQT_SLOT(slotInsertTempoAtPointer()), actionCollection(), "insert_tempo_at_pointer"); icon = TQIconSet(TQPixmap(pixmapDir + "/toolbar/event-delete.png")); - new TDEAction(i18n("Delete Tempo Change"), icon, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Delete Tempo Change"), icon, 0, this, TQT_SLOT(slotDeleteTempoChange()), actionCollection(), "delete_tempo"); - new TDEAction(i18n("Ramp Tempo to Next Tempo"), 0, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Ramp Tempo to Next Tempo"), 0, 0, this, TQT_SLOT(slotRampToNext()), actionCollection(), "ramp_to_next"); - new TDEAction(i18n("Un-Ramp Tempo"), 0, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Un-Ramp Tempo"), 0, 0, this, TQT_SLOT(slotUnramp()), actionCollection(), "unramp"); icon = TQIconSet(TQPixmap(pixmapDir + "/toolbar/event-edit.png")); - new TDEAction(i18n("Edit Tempo..."), icon, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Edit Tempo..."), icon, 0, this, TQT_SLOT(slotEditTempo()), actionCollection(), "edit_tempo"); - new TDEAction(i18n("Edit Time Signature..."), 0, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Edit Time Signature..."), 0, 0, this, TQT_SLOT(slotEditTimeSignature()), actionCollection(), "edit_time_signature"); - new TDEAction(i18n("Open Tempo and Time Signature Editor"), 0, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Open Tempo and Time Signature Editor"), 0, 0, this, TQT_SLOT(slotEditTempos()), actionCollection(), "edit_tempos"); -- cgit v1.2.1