summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/MarkerRuler.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-09 18:25:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-10 00:57:53 +0900
commit0d651f25b2871e8e16bf7a1c3563066489a7a0b2 (patch)
treeab3b17b523e0ae3334541665a4625b99a42a76b1 /src/gui/rulers/MarkerRuler.cpp
parentd226182192d460ae262962fe9d79604037bf9705 (diff)
downloadrosegarden-0d651f25b2871e8e16bf7a1c3563066489a7a0b2.tar.gz
rosegarden-0d651f25b2871e8e16bf7a1c3563066489a7a0b2.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9b054308cef27a642eaa6e9a86db215151468e0b)
Diffstat (limited to 'src/gui/rulers/MarkerRuler.cpp')
-rw-r--r--src/gui/rulers/MarkerRuler.cpp10
1 files changed, 5 insertions, 5 deletions
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<TDEMainWindow *>(probe)) probe = probe->parent();
if (probe) m_parentMainWindow = dynamic_cast<TDEMainWindow *>(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");