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:13:01 +0900 |
| commit | 8c11a1403700fcc6b1ae25a2693be842fbf0d37e (patch) | |
| tree | f4425787a031de0ced74124ad92eb66339b0962a /src/replaygainfilelist.cpp | |
| parent | 9897ab3092180bda391ff33ab5135c75c5086979 (diff) | |
| download | soundkonverter-8c11a140.tar.gz soundkonverter-8c11a140.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 773c73d27492ada253b9e81752bd735ee3dc3ac1)
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()) ); } |
