From 0d651f25b2871e8e16bf7a1c3563066489a7a0b2 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 (cherry picked from commit 9b054308cef27a642eaa6e9a86db215151468e0b) --- src/gui/rulers/MarkerRuler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/rulers/MarkerRuler.cpp') diff --git a/src/gui/rulers/MarkerRuler.cpp b/src/gui/rulers/MarkerRuler.cpp index ec7bdd8..4e40728 100644 --- a/src/gui/rulers/MarkerRuler.cpp +++ b/src/gui/rulers/MarkerRuler.cpp @@ -78,7 +78,7 @@ MarkerRuler::MarkerRuler(RosegardenGUIDoc *doc, // Otherwise we'll end up adding all actions to the same // (document-level) action collection regardless of which window // we're in. - TQObject *probe = TQT_TQOBJECT(parent); + TQObject *probe = parent; while (probe && !dynamic_cast(probe)) probe = probe->parent(); if (probe) m_parentMainWindow = dynamic_cast(probe); @@ -95,21 +95,21 @@ MarkerRuler::MarkerRuler(RosegardenGUIDoc *doc, // don't become more event-specific in future... icon = TQIconSet(TQPixmap(pixmapDir + "/toolbar/event-insert.png")); - new TDEAction(i18n("Insert Marker"), icon, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Insert Marker"), icon, 0, this, TQT_SLOT(slotInsertMarkerHere()), actionCollection(), "insert_marker_here"); - new TDEAction(i18n("Insert Marker at Playback Position"), 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Insert Marker at Playback Position"), 0, this, TQT_SLOT(slotInsertMarkerAtPointer()), actionCollection(), "insert_marker_at_pointer"); icon = TQIconSet(TQPixmap(pixmapDir + "/toolbar/event-delete.png")); - new TDEAction(i18n("Delete Marker"), icon, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Delete Marker"), icon, 0, this, TQT_SLOT(slotDeleteMarker()), actionCollection(), "delete_marker"); icon = TQIconSet(TQPixmap(pixmapDir + "/toolbar/event-edit.png")); - new TDEAction(i18n("Edit Marker..."), icon, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Edit Marker..."), icon, 0, this, TQT_SLOT(slotEditMarker()), actionCollection(), "edit_marker"); -- cgit v1.2.3