diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-02 11:38:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-15 10:12:20 +0900 |
commit | 773c73d27492ada253b9e81752bd735ee3dc3ac1 (patch) | |
tree | dc8d0269d4e95c57b29be70c1c2b90545112ef56 /src/replaygainfilelist.cpp | |
parent | 07fbaa743408f4302df7b6889347a4a2deadc4de (diff) | |
download | soundkonverter-773c73d27492ada253b9e81752bd735ee3dc3ac1.tar.gz soundkonverter-773c73d27492ada253b9e81752bd735ee3dc3ac1.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/replaygainfilelist.cpp')
-rw-r--r-- | src/replaygainfilelist.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/replaygainfilelist.cpp b/src/replaygainfilelist.cpp index 3353e15..98f072d 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( this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*,const TQPoint&,int)), - this, TQT_SLOT(showContextMenu(TQListViewItem*,const TQPoint&,int)) + connect( this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*,const TQPoint&,int)), + this, TQ_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, 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" ); + calc_gain = new TDEAction( i18n("Calculate Replay Gain tags"), "apply", 0, this, TQ_SLOT(calcSelectedItemsGain()), actionCollection, "calc_album" ); + remove_gain = new TDEAction( i18n("Remove Replay Gain tags"), "cancel", 0, this, TQ_SLOT(removeSelectedItemsGain()), actionCollection, "remove_gain" ); + remove = new TDEAction( i18n("Remove"), "edittrash", Key_Delete, this, TQ_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" ); + newalbum = new TDEAction( i18n("New album"), "document-new", 0, this, TQ_SLOT(createNewAlbum()), actionCollection, "newalbum" ); + open_albums = new TDEAction( i18n("Open all albums"), "view_tree", 0, this, TQ_SLOT(openAlbums()), actionCollection, "open_albums" ); + close_albums = new TDEAction( i18n("Cloase all albums"), "view_text", 0, this, TQ_SLOT(closeAlbums()), actionCollection, "close_albums" ); replayGain = new ReplayGain( config, logger ); @@ -229,27 +229,27 @@ ReplayGainFileList::ReplayGainFileList( TagEngine* _tagEngine, Config* _config, // "<br><a href=\"documenation:replaygaintool\">Learn more about Replay Gain ...</a><br/>" "</div>" ), TQApplication::font() ); - connect( header(), TQT_SIGNAL(sizeChange( int, int, int )), - TQT_SLOT(columnResizeEvent( int, int, int )) + connect( header(), TQ_SIGNAL(sizeChange( int, int, int )), + TQ_SLOT(columnResizeEvent( int, int, int )) ); - connect( this, TQT_SIGNAL( dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*) ), - TQT_SLOT( slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*) ) + connect( this, TQ_SIGNAL( dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*) ), + TQ_SLOT( slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*) ) ); process = new TDEProcess(); - connect( process, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)), - this, TQT_SLOT(processOutput(TDEProcess*,char*,int)) + connect( process, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)), + this, TQ_SLOT(processOutput(TDEProcess*,char*,int)) ); - connect( process, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)), - this, TQT_SLOT(processOutput(TDEProcess*,char*,int)) + connect( process, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)), + this, TQ_SLOT(processOutput(TDEProcess*,char*,int)) ); - connect( process, TQT_SIGNAL(processExited(TDEProcess*)), - this, TQT_SLOT(processExit(TDEProcess*)) + connect( process, TQ_SIGNAL(processExited(TDEProcess*)), + this, TQ_SLOT(processExit(TDEProcess*)) ); tUpdateProgress = new TQTimer( this, "tUpdateProgress" ); - connect( tUpdateProgress, TQT_SIGNAL(timeout()), - this, TQT_SLOT(update()) + connect( tUpdateProgress, TQ_SIGNAL(timeout()), + this, TQ_SLOT(update()) ); } |