diff options
author | Michele Calgaro <[email protected]> | 2023-12-09 18:25:42 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-09 18:57:45 +0900 |
commit | 9b054308cef27a642eaa6e9a86db215151468e0b (patch) | |
tree | ab3b17b523e0ae3334541665a4625b99a42a76b1 /src/gui/dialogs | |
parent | 217eb15dfed1b38303754b8cab53d77d749f22b9 (diff) | |
download | rosegarden-9b054308cef27a642eaa6e9a86db215151468e0b.tar.gz rosegarden-9b054308cef27a642eaa6e9a86db215151468e0b.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r-- | src/gui/dialogs/AudioManagerDialog.cpp | 22 | ||||
-rw-r--r-- | src/gui/dialogs/AudioSplitDialog.cpp | 2 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/dialogs/AudioManagerDialog.cpp b/src/gui/dialogs/AudioManagerDialog.cpp index 1059783..8827400 100644 --- a/src/gui/dialogs/AudioManagerDialog.cpp +++ b/src/gui/dialogs/AudioManagerDialog.cpp @@ -127,47 +127,47 @@ AudioManagerDialog::AudioManagerDialog(TQWidget *parent, TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/"); TQIconSet icon(TQPixmap(pixmapDir + "/toolbar/transport-play.xpm")); - new TDEAction(i18n("&Add Audio File..."), "document-open", 0, TQT_TQOBJECT(this), + new TDEAction(i18n("&Add Audio File..."), "document-open", 0, this, TQT_SLOT(slotAdd()), actionCollection(), "add_audio"); - new TDEAction(i18n("&Unload Audio File"), "edit-delete", 0, TQT_TQOBJECT(this), + new TDEAction(i18n("&Unload Audio File"), "edit-delete", 0, this, TQT_SLOT(slotRemove()), actionCollection(), "remove_audio"); icon = TQIconSet(TQPixmap(pixmapDir + "/toolbar/transport-play.xpm")); - new TDEAction(i18n("&Play Preview"), icon, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("&Play Preview"), icon, 0, this, TQT_SLOT(slotPlayPreview()), actionCollection(), "preview_audio"); /*!!! Not actually implemented -- this never worked right! - new TDEAction(i18n("Re&label"), 0, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Re&label"), 0, 0, this, TQT_SLOT(slotRename()), actionCollection(), "rename_audio"); */ icon = TQIconSet(TQPixmap(pixmapDir + "/toolbar/insert_audio_into_track.xpm")); new TDEAction(i18n("&Insert into Selected Audio Track"), - icon, 0, TQT_TQOBJECT(this), TQT_SLOT(slotInsert()), + icon, 0, this, TQT_SLOT(slotInsert()), actionCollection(), "insert_audio"); - new TDEAction(i18n("Unload &all Audio Files"), 0, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Unload &all Audio Files"), 0, 0, this, TQT_SLOT(slotRemoveAll()), actionCollection(), "remove_all_audio"); - new TDEAction(i18n("Unload all &Unused Audio Files"), 0, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Unload all &Unused Audio Files"), 0, 0, this, TQT_SLOT(slotRemoveAllUnused()), actionCollection(), "remove_all_unused_audio"); - new TDEAction(i18n("&Delete Unused Audio Files..."), 0, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("&Delete Unused Audio Files..."), 0, 0, this, TQT_SLOT(slotDeleteUnused()), actionCollection(), "delete_unused_audio"); - new TDEAction(i18n("&Export Audio File..."), "fileexport", 0, TQT_TQOBJECT(this), + new TDEAction(i18n("&Export Audio File..."), "fileexport", 0, this, TQT_SLOT(slotExportAudio()), actionCollection(), "export_audio"); /* new TDEAction(i18n("Distribute Audio on &MIDI"), - 0, 0, TQT_TQOBJECT(this), + 0, 0, this, TQT_SLOT(slotDistributeOnMidiSegment()), actionCollection(), "distribute_audio"); @@ -228,7 +228,7 @@ AudioManagerDialog::AudioManagerDialog(TQWidget *parent, connect(m_playTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotCancelPlayingAudio())); - KStdAction::close(TQT_TQOBJECT(this), + KStdAction::close(this, TQT_SLOT(slotClose()), actionCollection()); diff --git a/src/gui/dialogs/AudioSplitDialog.cpp b/src/gui/dialogs/AudioSplitDialog.cpp index 8ddfa8e..54d68c2 100644 --- a/src/gui/dialogs/AudioSplitDialog.cpp +++ b/src/gui/dialogs/AudioSplitDialog.cpp @@ -68,7 +68,7 @@ AudioSplitDialog::AudioSplitDialog(TQWidget *parent, new TQLabel(i18n("AutoSplit Segment \"") + strtoqstr(m_segment->getLabel()) + TQString("\""), w); - m_canvas = new TQCanvas(TQT_TQOBJECT(w)); + m_canvas = new TQCanvas(w); m_canvas->resize(m_canvasWidth, m_canvasHeight); m_canvasView = new TQCanvasView(m_canvas, w); m_canvasView->setFixedWidth(m_canvasWidth); |