summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/tempo/TempoView.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/editors/tempo/TempoView.cpp
parentd226182192d460ae262962fe9d79604037bf9705 (diff)
downloadrosegarden-0d651f25.tar.gz
rosegarden-0d651f25.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/editors/tempo/TempoView.cpp')
-rw-r--r--src/gui/editors/tempo/TempoView.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/editors/tempo/TempoView.cpp b/src/gui/editors/tempo/TempoView.cpp
index 001b610..30381db 100644
--- a/src/gui/editors/tempo/TempoView.cpp
+++ b/src/gui/editors/tempo/TempoView.cpp
@@ -576,36 +576,36 @@ TempoView::setupActions()
TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/");
TQIconSet icon(TQPixmap(pixmapDir + "/toolbar/event-insert-tempo.png"));
- new TDEAction(AddTempoChangeCommand::getGlobalName(), icon, Key_I, TQT_TQOBJECT(this),
+ new TDEAction(AddTempoChangeCommand::getGlobalName(), icon, Key_I, this,
TQT_SLOT(slotEditInsertTempo()), actionCollection(),
"insert_tempo");
TQCanvasPixmap pixmap(pixmapDir + "/toolbar/event-insert-timesig.png");
icon = TQIconSet(pixmap);
- new TDEAction(AddTimeSignatureCommand::getGlobalName(), icon, Key_G, TQT_TQOBJECT(this),
+ new TDEAction(AddTimeSignatureCommand::getGlobalName(), icon, Key_G, this,
TQT_SLOT(slotEditInsertTimeSignature()), actionCollection(),
"insert_timesig");
pixmap.load(pixmapDir + "/toolbar/event-delete.png");
icon = TQIconSet(pixmap);
- new TDEAction(i18n("&Delete"), icon, Key_Delete, TQT_TQOBJECT(this),
+ new TDEAction(i18n("&Delete"), icon, Key_Delete, this,
TQT_SLOT(slotEditDelete()), actionCollection(),
"delete");
pixmap.load(pixmapDir + "/toolbar/event-edit.png");
icon = TQIconSet(pixmap);
- new TDEAction(i18n("&Edit Item"), icon, Key_E, TQT_TQOBJECT(this),
+ new TDEAction(i18n("&Edit Item"), icon, Key_E, this,
TQT_SLOT(slotEdit()), actionCollection(),
"edit");
- new TDEAction(i18n("Select &All"), 0, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Select &All"), 0, this,
TQT_SLOT(slotSelectAll()), actionCollection(),
"select_all");
- new TDEAction(i18n("Clear Selection"), Key_Escape, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Clear Selection"), Key_Escape, this,
TQT_SLOT(slotClearSelection()), actionCollection(),
"clear_selection");
@@ -617,7 +617,7 @@ TempoView::setupActions()
pixmap.load(pixmapDir + "/toolbar/time-musical.png");
icon = TQIconSet(pixmap);
- action = new TDERadioAction(i18n("&Musical Times"), icon, 0, TQT_TQOBJECT(this),
+ action = new TDERadioAction(i18n("&Musical Times"), icon, 0, this,
TQT_SLOT(slotMusicalTime()),
actionCollection(), "time_musical");
action->setExclusiveGroup("timeMode");
@@ -627,7 +627,7 @@ TempoView::setupActions()
pixmap.load(pixmapDir + "/toolbar/time-real.png");
icon = TQIconSet(pixmap);
- action = new TDERadioAction(i18n("&Real Times"), icon, 0, TQT_TQOBJECT(this),
+ action = new TDERadioAction(i18n("&Real Times"), icon, 0, this,
TQT_SLOT(slotRealTime()),
actionCollection(), "time_real");
action->setExclusiveGroup("timeMode");
@@ -637,7 +637,7 @@ TempoView::setupActions()
pixmap.load(pixmapDir + "/toolbar/time-raw.png");
icon = TQIconSet(pixmap);
- action = new TDERadioAction(i18n("Ra&w Times"), icon, 0, TQT_TQOBJECT(this),
+ action = new TDERadioAction(i18n("Ra&w Times"), icon, 0, this,
TQT_SLOT(slotRawTime()),
actionCollection(), "time_raw");
action->setExclusiveGroup("timeMode");