@ -113,17 +113,17 @@ soundKonverter::soundKonverter()
options = new Options ( config , i18n ( " Choose your prefered output options and click on \" Add files ... \" ! " ) , widget , " options " ) ;
options = new Options ( config , i18n ( " Choose your prefered output options and click on \" Add files ... \" ! " ) , widget , " options " ) ;
fileList = new FileList ( cdManager , tagEngine , config , options , logger , widget , " fileList " ) ;
fileList = new FileList ( cdManager , tagEngine , config , options , logger , widget , " fileList " ) ;
startAction = new TDEAction ( i18n ( " &Start conversion " ) , " system-run " , 0 , fileList , TQ T _SLOT( startConversion ( ) ) , actionCollection ( ) , " start " ) ;
startAction = new TDEAction ( i18n ( " &Start conversion " ) , " system-run " , 0 , fileList , TQ _SLOT( startConversion ( ) ) , actionCollection ( ) , " start " ) ;
startAction - > setEnabled ( false ) ;
startAction - > setEnabled ( false ) ;
new TDEAction ( i18n ( " &Replay Gain Tool ... " ) , " soundkonverter_replaygain " , CTRL + Key_R , this , TQ T _SLOT( showReplayGainScanner ( ) ) , actionCollection ( ) , " replaygainscanner " ) ;
new TDEAction ( i18n ( " &Replay Gain Tool ... " ) , " soundkonverter_replaygain " , CTRL + Key_R , this , TQ _SLOT( showReplayGainScanner ( ) ) , actionCollection ( ) , " replaygainscanner " ) ;
//new TDEAction( i18n("R&epair Tool ..."), "soundkonverter_repair", CTRL+Key_E, this, TQ T _SLOT(showRepairTool()), actionCollection(), "repairtool" );
//new TDEAction( i18n("R&epair Tool ..."), "soundkonverter_repair", CTRL+Key_E, this, TQ _SLOT(showRepairTool()), actionCollection(), "repairtool" );
new TDEAction ( i18n ( " C&uesheet Editor ... " ) , " kwrite " , CTRL + Key_U , this , TQ T _SLOT( showCuesheetEditor ( ) ) , actionCollection ( ) , " cuesheeteditor " ) ;
new TDEAction ( i18n ( " C&uesheet Editor ... " ) , " kwrite " , CTRL + Key_U , this , TQ _SLOT( showCuesheetEditor ( ) ) , actionCollection ( ) , " cuesheeteditor " ) ;
new TDEAction ( i18n ( " Show &Log ... " ) , " view_text " , CTRL + Key_L , this , TQ T _SLOT( showLogViewer ( ) ) , actionCollection ( ) , " log " ) ;
new TDEAction ( i18n ( " Show &Log ... " ) , " view_text " , CTRL + Key_L , this , TQ _SLOT( showLogViewer ( ) ) , actionCollection ( ) , " log " ) ;
// new TDEAction( i18n("About &Plugins ..."), "connect_creating", CTRL+Key_P, this, TQ T _SLOT(showAboutPlugins()), actionCollection(), "about_plugins" );
// new TDEAction( i18n("About &Plugins ..."), "connect_creating", CTRL+Key_P, this, TQ _SLOT(showAboutPlugins()), actionCollection(), "about_plugins" );
stopAction = new TDEAction ( i18n ( " S&top after current file is complete " ) , " process-stop " , CTRL + Key_O , fileList , TQ T _SLOT( stopConversion ( ) ) , actionCollection ( ) , " stop " ) ;
stopAction = new TDEAction ( i18n ( " S&top after current file is complete " ) , " process-stop " , CTRL + Key_O , fileList , TQ _SLOT( stopConversion ( ) ) , actionCollection ( ) , " stop " ) ;
continueAction = new TDEAction ( i18n ( " &Continue after current file is complete " ) , " system-run " , CTRL + Key_T , fileList , TQ T _SLOT( continueConversion ( ) ) , actionCollection ( ) , " continue " ) ;
continueAction = new TDEAction ( i18n ( " &Continue after current file is complete " ) , " system-run " , CTRL + Key_T , fileList , TQ _SLOT( continueConversion ( ) ) , actionCollection ( ) , " continue " ) ;
killAction = new TDEAction ( i18n ( " Stop &immediately " ) , " system-log-out " , CTRL + Key_K , fileList , TQ T _SLOT( killConversion ( ) ) , actionCollection ( ) , " kill " ) ;
killAction = new TDEAction ( i18n ( " Stop &immediately " ) , " system-log-out " , CTRL + Key_K , fileList , TQ _SLOT( killConversion ( ) ) , actionCollection ( ) , " kill " ) ;
stopActionMenu = new TDEActionMenu ( i18n ( " Stop " ) , " process-stop " , actionCollection ( ) , " stopMenu " ) ;
stopActionMenu = new TDEActionMenu ( i18n ( " Stop " ) , " process-stop " , actionCollection ( ) , " stopMenu " ) ;
stopActionMenu - > setDelayed ( false ) ;
stopActionMenu - > setDelayed ( false ) ;
stopActionMenu - > setEnabled ( false ) ;
stopActionMenu - > setEnabled ( false ) ;
@ -131,16 +131,16 @@ soundKonverter::soundKonverter()
// stopActionMenu->insert( continueAction );
// stopActionMenu->insert( continueAction );
// stopActionMenu->insert( killAction );
// stopActionMenu->insert( killAction );
/* veryHighPriorityAction = new TDEToggleAction( i18n("Very hi&gh"), CTRL+Key_1, this, TQ T _SLOT(priorityChanged()), actionCollection(), "veryhigh" );
/* veryHighPriorityAction = new TDEToggleAction( i18n("Very hi&gh"), CTRL+Key_1, this, TQ _SLOT(priorityChanged()), actionCollection(), "veryhigh" );
veryHighPriorityAction - > setExclusiveGroup ( " priorityActionMenu " ) ;
veryHighPriorityAction - > setExclusiveGroup ( " priorityActionMenu " ) ;
highPriorityAction = new TDEToggleAction ( i18n ( " &High " ) , CTRL + Key_2 , this , TQ T _SLOT( priorityChanged ( ) ) , actionCollection ( ) , " high " ) ;
highPriorityAction = new TDEToggleAction ( i18n ( " &High " ) , CTRL + Key_2 , this , TQ _SLOT( priorityChanged ( ) ) , actionCollection ( ) , " high " ) ;
highPriorityAction - > setExclusiveGroup ( " priorityActionMenu " ) ;
highPriorityAction - > setExclusiveGroup ( " priorityActionMenu " ) ;
normalPriorityAction = new TDEToggleAction ( i18n ( " &Normal " ) , CTRL + Key_3 , this , TQ T _SLOT( priorityChanged ( ) ) , actionCollection ( ) , " nomal " ) ;
normalPriorityAction = new TDEToggleAction ( i18n ( " &Normal " ) , CTRL + Key_3 , this , TQ _SLOT( priorityChanged ( ) ) , actionCollection ( ) , " nomal " ) ;
normalPriorityAction - > setExclusiveGroup ( " priorityActionMenu " ) ;
normalPriorityAction - > setExclusiveGroup ( " priorityActionMenu " ) ;
normalPriorityAction - > setChecked ( true ) ;
normalPriorityAction - > setChecked ( true ) ;
lowPriorityAction = new TDEToggleAction ( i18n ( " &Low " ) , CTRL + Key_4 , this , TQ T _SLOT( priorityChanged ( ) ) , actionCollection ( ) , " low " ) ;
lowPriorityAction = new TDEToggleAction ( i18n ( " &Low " ) , CTRL + Key_4 , this , TQ _SLOT( priorityChanged ( ) ) , actionCollection ( ) , " low " ) ;
lowPriorityAction - > setExclusiveGroup ( " priorityActionMenu " ) ;
lowPriorityAction - > setExclusiveGroup ( " priorityActionMenu " ) ;
veryLowPriorityAction = new TDEToggleAction ( i18n ( " Very lo&w " ) , CTRL + Key_5 , this , TQ T _SLOT( priorityChanged ( ) ) , actionCollection ( ) , " verylow " ) ;
veryLowPriorityAction = new TDEToggleAction ( i18n ( " Very lo&w " ) , CTRL + Key_5 , this , TQ _SLOT( priorityChanged ( ) ) , actionCollection ( ) , " verylow " ) ;
veryLowPriorityAction - > setExclusiveGroup ( " priorityActionMenu " ) ;
veryLowPriorityAction - > setExclusiveGroup ( " priorityActionMenu " ) ;
priorityActionMenu = new TDEActionMenu ( i18n ( " En-/Decoder priority " ) , " ksysguard " , actionCollection ( ) , " priorityMenu " ) ;
priorityActionMenu = new TDEActionMenu ( i18n ( " En-/Decoder priority " ) , " ksysguard " , actionCollection ( ) , " priorityMenu " ) ;
priorityActionMenu - > setDelayed ( false ) ;
priorityActionMenu - > setDelayed ( false ) ;
@ -151,22 +151,22 @@ soundKonverter::soundKonverter()
priorityActionMenu - > insert ( veryLowPriorityAction ) ; */
priorityActionMenu - > insert ( veryLowPriorityAction ) ; */
//priorityChanged();
//priorityChanged();
new TDEAction ( i18n ( " A&dd Files ... " ) , " audio-x-generic " , CTRL + Key_D , this , TQ T _SLOT( showFileDialog ( ) ) , actionCollection ( ) , " add_files " ) ;
new TDEAction ( i18n ( " A&dd Files ... " ) , " audio-x-generic " , CTRL + Key_D , this , TQ _SLOT( showFileDialog ( ) ) , actionCollection ( ) , " add_files " ) ;
new TDEAction ( i18n ( " Add &Folder ... " ) , " audio-x-generic " , CTRL + Key_F , this , TQ T _SLOT( showDirDialog ( ) ) , actionCollection ( ) , " add_folder " ) ;
new TDEAction ( i18n ( " Add &Folder ... " ) , " audio-x-generic " , CTRL + Key_F , this , TQ _SLOT( showDirDialog ( ) ) , actionCollection ( ) , " add_folder " ) ;
new TDEAction ( i18n ( " Add CD &tracks ... " ) , " media-optical-cdaudio-unmounted " , CTRL + Key_T , this , TQ T _SLOT( showCdDialog ( ) ) , actionCollection ( ) , " add_audiocd " ) ;
new TDEAction ( i18n ( " Add CD &tracks ... " ) , " media-optical-cdaudio-unmounted " , CTRL + Key_T , this , TQ _SLOT( showCdDialog ( ) ) , actionCollection ( ) , " add_audiocd " ) ;
new TDEAction ( i18n ( " Add &URL ... " ) , " browser " , CTRL + Key_U , this , TQ T _SLOT( showUrlDialog ( ) ) , actionCollection ( ) , " add_url " ) ;
new TDEAction ( i18n ( " Add &URL ... " ) , " browser " , CTRL + Key_U , this , TQ _SLOT( showUrlDialog ( ) ) , actionCollection ( ) , " add_url " ) ;
KStdAction : : quit ( this , TQ T _SLOT( close ( ) ) , actionCollection ( ) ) ;
KStdAction : : quit ( this , TQ _SLOT( close ( ) ) , actionCollection ( ) ) ;
new TDEAction ( i18n ( " L&oad file list " ) , " document-open " , 0 , fileList , TQ T _SLOT( load ( ) ) , actionCollection ( ) , " load " ) ;
new TDEAction ( i18n ( " L&oad file list " ) , " document-open " , 0 , fileList , TQ _SLOT( load ( ) ) , actionCollection ( ) , " load " ) ;
new TDEAction ( i18n ( " Sa&ve file list " ) , " document-save " , 0 , fileList , TQ T _SLOT( save ( ) ) , actionCollection ( ) , " save " ) ;
new TDEAction ( i18n ( " Sa&ve file list " ) , " document-save " , 0 , fileList , TQ _SLOT( save ( ) ) , actionCollection ( ) , " save " ) ;
// TODO //KStdAction::paste( this, TQ T _SLOT(pasteFiles()), actionCollection() );
// TODO //KStdAction::paste( this, TQ _SLOT(pasteFiles()), actionCollection() );
KStdAction : : preferences ( this , TQ T _SLOT( showConfigDialog ( ) ) , actionCollection ( ) ) ;
KStdAction : : preferences ( this , TQ _SLOT( showConfigDialog ( ) ) , actionCollection ( ) ) ;
showToolBarAction = KStdAction : : showToolbar ( this , TQ T _SLOT( showToolbar ( ) ) , actionCollection ( ) ) ;
showToolBarAction = KStdAction : : showToolbar ( this , TQ _SLOT( showToolbar ( ) ) , actionCollection ( ) ) ;
//KStdAction::showStatusbar( 0, 0, actionCollection() );
//KStdAction::showStatusbar( 0, 0, actionCollection() );
KStdAction : : configureToolbars ( this , TQ T _SLOT( editToolbar ( ) ) , actionCollection ( ) ) ;
KStdAction : : configureToolbars ( this , TQ _SLOT( editToolbar ( ) ) , actionCollection ( ) ) ;
createGUI ( ) ;
createGUI ( ) ;
@ -185,11 +185,11 @@ soundKonverter::soundKonverter()
// generate the options input area
// generate the options input area
// NOTE created above because of some dependences
// NOTE created above because of some dependences
//options = new Options( config, i18n("Choose your prefered output options and click on \"Add files ...\"!"), this, "options" );
//options = new Options( config, i18n("Choose your prefered output options and click on \"Add files ...\"!"), this, "options" );
connect ( options , TQ T _SIGNAL( showConfigPluginsPage ( ) ) ,
connect ( options , TQ _SIGNAL( showConfigPluginsPage ( ) ) ,
this , TQ T _SLOT( showConfigPluginsPage ( ) )
this , TQ _SLOT( showConfigPluginsPage ( ) )
) ;
) ;
connect ( options , TQ T _SIGNAL( showConfigEnvironmentPage ( ) ) ,
connect ( options , TQ _SIGNAL( showConfigEnvironmentPage ( ) ) ,
this , TQ T _SLOT( showConfigEnvironmentPage ( ) )
this , TQ _SLOT( showConfigEnvironmentPage ( ) )
) ;
) ;
gridLayout - > addWidget ( options , 0 , 0 ) ;
gridLayout - > addWidget ( options , 0 , 0 ) ;
@ -198,28 +198,28 @@ soundKonverter::soundKonverter()
//fileList = new FileList( cdManager, tagEngine, config, options, this, "fileList" );
//fileList = new FileList( cdManager, tagEngine, config, options, this, "fileList" );
gridLayout - > addWidget ( fileList , 1 , 0 ) ;
gridLayout - > addWidget ( fileList , 1 , 0 ) ;
gridLayout - > setRowStretch ( 1 , 1 ) ;
gridLayout - > setRowStretch ( 1 , 1 ) ;
/*connect( this, TQ T _SIGNAL(windowMoved(int,int)),
/*connect( this, TQ _SIGNAL(windowMoved(int,int)),
fileList , TQ T _SLOT( moveOptionsEditor ( int , int ) )
fileList , TQ _SLOT( moveOptionsEditor ( int , int ) )
) ; */
) ; */
connect ( fileList , TQ T _SIGNAL( fileCountChanged ( int ) ) ,
connect ( fileList , TQ _SIGNAL( fileCountChanged ( int ) ) ,
this , TQ T _SLOT( fileCountChanged ( int ) )
this , TQ _SLOT( fileCountChanged ( int ) )
) ;
) ;
connect ( fileList , TQ T _SIGNAL( startedConversion ( ) ) ,
connect ( fileList , TQ _SIGNAL( startedConversion ( ) ) ,
this , TQ T _SLOT( startedConversion ( ) )
this , TQ _SLOT( startedConversion ( ) )
) ;
) ;
connect ( fileList , TQ T _SIGNAL( stopClicked ( ) ) ,
connect ( fileList , TQ _SIGNAL( stopClicked ( ) ) ,
this , TQ T _SLOT( stopClicked ( ) )
this , TQ _SLOT( stopClicked ( ) )
) ;
) ;
connect ( fileList , TQ T _SIGNAL( continueClicked ( ) ) ,
connect ( fileList , TQ _SIGNAL( continueClicked ( ) ) ,
this , TQ T _SLOT( continueClicked ( ) )
this , TQ _SLOT( continueClicked ( ) )
) ;
) ;
connect ( fileList , TQ T _SIGNAL( stoppedConversion ( ) ) ,
connect ( fileList , TQ _SIGNAL( stoppedConversion ( ) ) ,
this , TQ T _SLOT( stoppedConversion ( ) )
this , TQ _SLOT( stoppedConversion ( ) )
) ;
) ;
convert = new Convert ( config , tagEngine , cdManager , fileList , logger ) ;
convert = new Convert ( config , tagEngine , cdManager , fileList , logger ) ;
// connect( this, TQ T _SIGNAL(setPriority(int)),
// connect( this, TQ _SIGNAL(setPriority(int)),
// convert, TQ T _SLOT(priorityChanged(int))
// convert, TQ _SLOT(priorityChanged(int))
// );
// );
// add a horizontal box layout for the add combobutton to the grid
// add a horizontal box layout for the add combobutton to the grid
@ -237,8 +237,8 @@ soundKonverter::soundKonverter()
cAdd - > insertItem ( iconLoader - > loadIcon ( " media-optical-cdaudio-unmounted " , TDEIcon : : Toolbar ) , i18n ( " Add CD tracks ... " ) ) ;
cAdd - > insertItem ( iconLoader - > loadIcon ( " media-optical-cdaudio-unmounted " , TDEIcon : : Toolbar ) , i18n ( " Add CD tracks ... " ) ) ;
cAdd - > insertItem ( iconLoader - > loadIcon ( " browser " , TDEIcon : : Toolbar ) , i18n ( " Add URL ... " ) ) ;
cAdd - > insertItem ( iconLoader - > loadIcon ( " browser " , TDEIcon : : Toolbar ) , i18n ( " Add URL ... " ) ) ;
addBox - > addWidget ( cAdd ) ;
addBox - > addWidget ( cAdd ) ;
connect ( cAdd , TQ T _SIGNAL( clicked ( int ) ) ,
connect ( cAdd , TQ _SIGNAL( clicked ( int ) ) ,
this , TQ T _SLOT( addClicked ( int ) )
this , TQ _SLOT( addClicked ( int ) )
) ;
) ;
addBox - > addSpacing ( 18 ) ;
addBox - > addSpacing ( 18 ) ;
@ -247,8 +247,8 @@ soundKonverter::soundKonverter()
pStart - > setFixedHeight ( pStart - > size ( ) . height ( ) ) ;
pStart - > setFixedHeight ( pStart - > size ( ) . height ( ) ) ;
pStart - > setEnabled ( false ) ;
pStart - > setEnabled ( false ) ;
addBox - > addWidget ( pStart ) ;
addBox - > addWidget ( pStart ) ;
connect ( pStart , TQ T _SIGNAL( clicked ( ) ) ,
connect ( pStart , TQ _SIGNAL( clicked ( ) ) ,
fileList , TQ T _SLOT( startConversion ( ) )
fileList , TQ _SLOT( startConversion ( ) )
) ;
) ;
pStop = new KPushButton ( iconLoader - > loadIcon ( " process-stop " , TDEIcon : : Small ) , i18n ( " Stop " ) , widget , " pStop " ) ;
pStop = new KPushButton ( iconLoader - > loadIcon ( " process-stop " , TDEIcon : : Small ) , i18n ( " Stop " ) , widget , " pStop " ) ;
@ -261,29 +261,29 @@ soundKonverter::soundKonverter()
progressIndicator = new ProgressIndicator ( systemTray , widget , " progressIndicator " ) ;
progressIndicator = new ProgressIndicator ( systemTray , widget , " progressIndicator " ) ;
addBox - > addWidget ( progressIndicator ) ;
addBox - > addWidget ( progressIndicator ) ;
connect ( fileList , TQ T _SIGNAL( increaseTime ( float ) ) ,
connect ( fileList , TQ _SIGNAL( increaseTime ( float ) ) ,
progressIndicator , TQ T _SLOT( increaseTime ( float ) )
progressIndicator , TQ _SLOT( increaseTime ( float ) )
) ;
) ;
connect ( fileList , TQ T _SIGNAL( decreaseTime ( float ) ) ,
connect ( fileList , TQ _SIGNAL( decreaseTime ( float ) ) ,
progressIndicator , TQ T _SLOT( decreaseTime ( float ) )
progressIndicator , TQ _SLOT( decreaseTime ( float ) )
) ;
) ;
/*connect( fileList, TQ T _SIGNAL(setTime(float)),
/*connect( fileList, TQ _SIGNAL(setTime(float)),
progressIndicator , TQ T _SLOT( setTime ( float ) )
progressIndicator , TQ _SLOT( setTime ( float ) )
) ; */
) ; */
connect ( fileList , TQ T _SIGNAL( finished ( float ) ) ,
connect ( fileList , TQ _SIGNAL( finished ( float ) ) ,
progressIndicator , TQ T _SLOT( finished ( float ) )
progressIndicator , TQ _SLOT( finished ( float ) )
) ;
) ;
connect ( convert , TQ T _SIGNAL( countTime ( float ) ) ,
connect ( convert , TQ _SIGNAL( countTime ( float ) ) ,
progressIndicator , TQ T _SLOT( countTime ( float ) )
progressIndicator , TQ _SLOT( countTime ( float ) )
) ;
) ;
connect ( convert , TQ T _SIGNAL( uncountTime ( float ) ) ,
connect ( convert , TQ _SIGNAL( uncountTime ( float ) ) ,
progressIndicator , TQ T _SLOT( uncountTime ( float ) )
progressIndicator , TQ _SLOT( uncountTime ( float ) )
) ;
) ;
connect ( convert , TQ T _SIGNAL( update ( float ) ) ,
connect ( convert , TQ _SIGNAL( update ( float ) ) ,
progressIndicator , TQ T _SLOT( update ( float ) )
progressIndicator , TQ _SLOT( update ( float ) )
) ;
) ;
connect ( progressIndicator , TQ T _SIGNAL( setTitle ( const TQString & ) ) ,
connect ( progressIndicator , TQ _SIGNAL( setTitle ( const TQString & ) ) ,
this , TQ T _SLOT( setTitle ( const TQString & ) )
this , TQ _SLOT( setTitle ( const TQString & ) )
) ;
) ;
cAdd - > increaseHeight ( /*progressIndicator->height() - cAdd->height()*/ 10 ) ; // FIXME detect the height automaticly
cAdd - > increaseHeight ( /*progressIndicator->height() - cAdd->height()*/ 10 ) ; // FIXME detect the height automaticly
@ -340,11 +340,11 @@ void soundKonverter::openArgFiles( const TQStringList &files )
{
{
OptionsRequester * dialog = new OptionsRequester ( config , files , this ) ;
OptionsRequester * dialog = new OptionsRequester ( config , files , this ) ;
connect ( dialog , TQ T _SIGNAL( setCurrentOptions ( const ConversionOptions & ) ) ,
connect ( dialog , TQ _SIGNAL( setCurrentOptions ( const ConversionOptions & ) ) ,
options , TQ T _SLOT( setCurrentOptions ( const ConversionOptions & ) )
options , TQ _SLOT( setCurrentOptions ( const ConversionOptions & ) )
) ;
) ;
connect ( dialog , TQ T _SIGNAL( addFiles ( TQStringList ) ) ,
connect ( dialog , TQ _SIGNAL( addFiles ( TQStringList ) ) ,
fileList , TQ T _SLOT( addFiles ( TQStringList ) )
fileList , TQ _SLOT( addFiles ( TQStringList ) )
) ;
) ;
TQ_CHECK_PTR ( dialog ) ;
TQ_CHECK_PTR ( dialog ) ;
@ -364,8 +364,8 @@ void soundKonverter::openArgFiles( const TQStringList &files )
dialog - > exec ( ) ;
dialog - > exec ( ) ;
disconnect ( dialog , TQ T _SIGNAL( setCurrentOptions ( const ConversionOptions & ) ) , 0 , 0 ) ;
disconnect ( dialog , TQ _SIGNAL( setCurrentOptions ( const ConversionOptions & ) ) , 0 , 0 ) ;
disconnect ( dialog , TQ T _SIGNAL( addFiles ( TQStringList ) ) , 0 , 0 ) ;
disconnect ( dialog , TQ _SIGNAL( addFiles ( TQStringList ) ) , 0 , 0 ) ;
delete dialog ;
delete dialog ;
}
}
@ -528,11 +528,11 @@ void soundKonverter::showCdDialog( bool intern )
{
{
OptionsRequester * dialog = new OptionsRequester ( config , " " , this ) ;
OptionsRequester * dialog = new OptionsRequester ( config , " " , this ) ;
connect ( dialog , TQ T _SIGNAL( setCurrentOptions ( const ConversionOptions & ) ) ,
connect ( dialog , TQ _SIGNAL( setCurrentOptions ( const ConversionOptions & ) ) ,
options , TQ T _SLOT( setCurrentOptions ( const ConversionOptions & ) )
options , TQ _SLOT( setCurrentOptions ( const ConversionOptions & ) )
) ;
) ;
// connect( dialog, TQ T _SIGNAL(addFiles(TQStringList)),
// connect( dialog, TQ _SIGNAL(addFiles(TQStringList)),
// fileList, TQ T _SLOT(addFiles(TQStringList))
// fileList, TQ _SLOT(addFiles(TQStringList))
// );
// );
TQ_CHECK_PTR ( dialog ) ;
TQ_CHECK_PTR ( dialog ) ;
@ -552,8 +552,8 @@ void soundKonverter::showCdDialog( bool intern )
dialog - > exec ( ) ;
dialog - > exec ( ) ;
disconnect ( dialog , TQ T _SIGNAL( setCurrentOptions ( const ConversionOptions & ) ) , 0 , 0 ) ;
disconnect ( dialog , TQ _SIGNAL( setCurrentOptions ( const ConversionOptions & ) ) , 0 , 0 ) ;
// disconnect( dialog, TQ T _SIGNAL(addFiles(TQStringList)), 0, 0 );
// disconnect( dialog, TQ _SIGNAL(addFiles(TQStringList)), 0, 0 );
delete dialog ;
delete dialog ;
}
}
@ -594,21 +594,21 @@ void soundKonverter::showCdDialog( bool intern )
if ( ! dialog - > noCD )
if ( ! dialog - > noCD )
{
{
connect ( dialog , TQ T _SIGNAL( addTracks ( const TQString & , TQValueList < int > ) ) ,
connect ( dialog , TQ _SIGNAL( addTracks ( const TQString & , TQValueList < int > ) ) ,
fileList , TQ T _SLOT( addTracks ( const TQString & , TQValueList < int > ) )
fileList , TQ _SLOT( addTracks ( const TQString & , TQValueList < int > ) )
) ;
) ;
connect ( dialog , TQ T _SIGNAL( addDisc ( const TQString & ) ) ,
connect ( dialog , TQ _SIGNAL( addDisc ( const TQString & ) ) ,
fileList , TQ T _SLOT( addDisc ( const TQString & ) )
fileList , TQ _SLOT( addDisc ( const TQString & ) )
) ;
) ;
/*connect( dialog, TQ T _SIGNAL(openCuesheetEditor(const TQString&)),
/*connect( dialog, TQ _SIGNAL(openCuesheetEditor(const TQString&)),
this , TQ T _SLOT( openCuesheetEditor ( const TQString & ) )
this , TQ _SLOT( openCuesheetEditor ( const TQString & ) )
) ; */
) ; */
dialog - > exec ( ) ;
dialog - > exec ( ) ;
disconnect ( dialog , TQ T _SIGNAL( addTracks ( const TQString & , TQValueList < int > ) ) , 0 , 0 ) ;
disconnect ( dialog , TQ _SIGNAL( addTracks ( const TQString & , TQValueList < int > ) ) , 0 , 0 ) ;
disconnect ( dialog , TQ T _SIGNAL( addDisc ( const TQString & ) ) , 0 , 0 ) ;
disconnect ( dialog , TQ _SIGNAL( addDisc ( const TQString & ) ) , 0 , 0 ) ;
//disconnect( dialog, TQ T _SIGNAL(openCuesheetEditor(const TQString&)), 0, 0 );
//disconnect( dialog, TQ _SIGNAL(openCuesheetEditor(const TQString&)), 0, 0 );
}
}
delete dialog ;
delete dialog ;
@ -639,8 +639,8 @@ void soundKonverter::showReplayGainScanner()
// TODO error message
// TODO error message
return ;
return ;
}
}
// connect( this, TQ T _SIGNAL(addFilesToReplayGainScanner(TQStringList)),
// connect( this, TQ _SIGNAL(addFilesToReplayGainScanner(TQStringList)),
// replayGainScanner, TQ T _SLOT(addFiles(TQStringList))
// replayGainScanner, TQ _SLOT(addFiles(TQStringList))
// );
// );
}
}
replayGainScanner - > show ( ) ;
replayGainScanner - > show ( ) ;
@ -684,8 +684,8 @@ void soundKonverter::showLogViewer()
// TODO error message
// TODO error message
return ;
return ;
}
}
// connect( convert, TQ T _SIGNAL(finishedProcess(int,int)),
// connect( convert, TQ _SIGNAL(finishedProcess(int,int)),
// logViewer, TQ T _SLOT(processCompleted(int,int))
// logViewer, TQ _SLOT(processCompleted(int,int))
// );
// );
}
}
logViewer - > show ( ) ;
logViewer - > show ( ) ;
@ -747,8 +747,8 @@ void soundKonverter::editToolbar()
{
{
saveMainWindowSettings ( kapp - > config ( ) , " MainWindow " ) ;
saveMainWindowSettings ( kapp - > config ( ) , " MainWindow " ) ;
KEditToolbar dlg ( actionCollection ( ) ) ;
KEditToolbar dlg ( actionCollection ( ) ) ;
connect ( & dlg , TQ T _SIGNAL( newToolbarConfig ( ) ) ,
connect ( & dlg , TQ _SIGNAL( newToolbarConfig ( ) ) ,
this , TQ T _SLOT( newToolbarConfig ( ) )
this , TQ _SLOT( newToolbarConfig ( ) )
) ;
) ;
dlg . exec ( ) ;
dlg . exec ( ) ;
}
}