diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-09 18:25:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-09 18:25:42 +0900 |
commit | 32336122808eb037000d303793ef4609c95aa015 (patch) | |
tree | 4ae6c01ddbc9a0e9858689aeb4f644caef03c07b /src/replaygainfilelist.cpp | |
parent | 530df121961f2e35d26b80a43dab57c74e375657 (diff) | |
download | soundkonverter-32336122808eb037000d303793ef4609c95aa015.tar.gz soundkonverter-32336122808eb037000d303793ef4609c95aa015.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/replaygainfilelist.cpp')
-rw-r--r-- | src/replaygainfilelist.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/replaygainfilelist.cpp b/src/replaygainfilelist.cpp index 7f97f67..3353e15 100644 --- a/src/replaygainfilelist.cpp +++ b/src/replaygainfilelist.cpp @@ -203,20 +203,20 @@ ReplayGainFileList::ReplayGainFileList( TagEngine* _tagEngine, Config* _config, grid->setColStretch( 1, 2 ); contextMenu = new TDEPopupMenu( this ); - connect( TQT_TQOBJECT(this), TQT_SIGNAL(contextMenuRequested(TQListViewItem*,const TQPoint&,int)), - TQT_TQOBJECT(this), TQT_SLOT(showContextMenu(TQListViewItem*,const TQPoint&,int)) + connect( this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*,const TQPoint&,int)), + this, TQT_SLOT(showContextMenu(TQListViewItem*,const TQPoint&,int)) ); // we haven't got access to the action collection of soundKonverter, so let's create a new one actionCollection = new TDEActionCollection( this ); - calc_gain = new TDEAction( i18n("Calculate Replay Gain tags"), "apply", 0, TQT_TQOBJECT(this), TQT_SLOT(calcSelectedItemsGain()), actionCollection, "calc_album" ); - remove_gain = new TDEAction( i18n("Remove Replay Gain tags"), "cancel", 0, TQT_TQOBJECT(this), TQT_SLOT(removeSelectedItemsGain()), actionCollection, "remove_gain" ); - remove = new TDEAction( i18n("Remove"), "edittrash", Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(removeSelectedItems()), actionCollection, "remove" ); - paste = new TDEAction( i18n("Paste"), "edit-paste", 0, TQT_TQOBJECT(this), 0, actionCollection, "paste" ); - newalbum = new TDEAction( i18n("New album"), "document-new", 0, TQT_TQOBJECT(this), TQT_SLOT(createNewAlbum()), actionCollection, "newalbum" ); - open_albums = new TDEAction( i18n("Open all albums"), "view_tree", 0, TQT_TQOBJECT(this), TQT_SLOT(openAlbums()), actionCollection, "open_albums" ); - close_albums = new TDEAction( i18n("Cloase all albums"), "view_text", 0, TQT_TQOBJECT(this), TQT_SLOT(closeAlbums()), actionCollection, "close_albums" ); + calc_gain = new TDEAction( i18n("Calculate Replay Gain tags"), "apply", 0, this, TQT_SLOT(calcSelectedItemsGain()), actionCollection, "calc_album" ); + remove_gain = new TDEAction( i18n("Remove Replay Gain tags"), "cancel", 0, this, TQT_SLOT(removeSelectedItemsGain()), actionCollection, "remove_gain" ); + remove = new TDEAction( i18n("Remove"), "edittrash", Key_Delete, this, TQT_SLOT(removeSelectedItems()), actionCollection, "remove" ); + paste = new TDEAction( i18n("Paste"), "edit-paste", 0, this, 0, actionCollection, "paste" ); + newalbum = new TDEAction( i18n("New album"), "document-new", 0, this, TQT_SLOT(createNewAlbum()), actionCollection, "newalbum" ); + open_albums = new TDEAction( i18n("Open all albums"), "view_tree", 0, this, TQT_SLOT(openAlbums()), actionCollection, "open_albums" ); + close_albums = new TDEAction( i18n("Cloase all albums"), "view_text", 0, this, TQT_SLOT(closeAlbums()), actionCollection, "close_albums" ); replayGain = new ReplayGain( config, logger ); @@ -232,24 +232,24 @@ ReplayGainFileList::ReplayGainFileList( TagEngine* _tagEngine, Config* _config, connect( header(), TQT_SIGNAL(sizeChange( int, int, int )), TQT_SLOT(columnResizeEvent( int, int, int )) ); - connect( TQT_TQOBJECT(this), TQT_SIGNAL( dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*) ), + connect( this, TQT_SIGNAL( dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*) ), TQT_SLOT( slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*) ) ); process = new TDEProcess(); connect( process, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)), - TQT_TQOBJECT(this), TQT_SLOT(processOutput(TDEProcess*,char*,int)) + this, TQT_SLOT(processOutput(TDEProcess*,char*,int)) ); connect( process, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)), - TQT_TQOBJECT(this), TQT_SLOT(processOutput(TDEProcess*,char*,int)) + this, TQT_SLOT(processOutput(TDEProcess*,char*,int)) ); connect( process, TQT_SIGNAL(processExited(TDEProcess*)), - TQT_TQOBJECT(this), TQT_SLOT(processExit(TDEProcess*)) + this, TQT_SLOT(processExit(TDEProcess*)) ); tUpdateProgress = new TQTimer( this, "tUpdateProgress" ); connect( tUpdateProgress, TQT_SIGNAL(timeout()), - TQT_TQOBJECT(this), TQT_SLOT(update()) + this, TQT_SLOT(update()) ); } |