diff options
Diffstat (limited to 'src/gui/dialogs/AudioManagerDialog.cpp')
-rw-r--r-- | src/gui/dialogs/AudioManagerDialog.cpp | 22 |
1 files changed, 11 insertions, 11 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()); |