diff options
Diffstat (limited to 'src/configgeneralpage.cpp')
-rw-r--r-- | src/configgeneralpage.cpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/src/configgeneralpage.cpp b/src/configgeneralpage.cpp index f83e507..0d4093f 100644 --- a/src/configgeneralpage.cpp +++ b/src/configgeneralpage.cpp @@ -39,8 +39,8 @@ ConfigGeneralPage::ConfigGeneralPage( Config* _config, TQWidget *parent, const c cStartTab->insertItem( i18n("Detailed") ); cStartTab->setCurrentItem( config->data.general.startTab ); startTabBox->addWidget( cStartTab ); - connect( cStartTab, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(cfgChanged()) + connect( cStartTab, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(cfgChanged()) ); box->addSpacing( 5 ); @@ -63,18 +63,18 @@ ConfigGeneralPage::ConfigGeneralPage( Config* _config, TQWidget *parent, const c cDefaultProfile->insertStringList( sDefaultProfile ); cDefaultProfile->setCurrentItem( profileIndex(config->data.general.defaultProfile) ); defaultProfileBox->addWidget( cDefaultProfile ); - connect( cDefaultProfile, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(profileChanged()) + connect( cDefaultProfile, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(profileChanged()) ); - connect( cDefaultProfile, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(cfgChanged()) + connect( cDefaultProfile, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(cfgChanged()) ); TQLabel* lDefaultFormat = new TQLabel( i18n("Default format")+":", parent, "lDefaultFormat" ); defaultProfileBox->addWidget( lDefaultFormat ); cDefaultFormat = new KComboBox( parent, "cDefaultFormat" ); defaultProfileBox->addWidget( cDefaultFormat ); - connect( cDefaultFormat, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(cfgChanged()) + connect( cDefaultFormat, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(cfgChanged()) ); profileChanged(); @@ -87,20 +87,20 @@ ConfigGeneralPage::ConfigGeneralPage( Config* _config, TQWidget *parent, const c lDir->setText( config->data.general.defaultOutputDirectory ); TQToolTip::add( lDir, i18n("<p>The following strings are space holders, that will be replaced by the information in the meta data:</p><p>%a - Artist<br>%b - Album<br>%c - Comment<br>%d - Disc number<br>%g - Genre<br>%n - Track number<br>%p - Composer<br>%t - Title<br>%y - Year<br>%f - Original file name<p>") ); defaultDirBox->addWidget( lDir ); - connect( lDir, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(cfgChanged()) + connect( lDir, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(cfgChanged()) );*/ /*pDirInfo = new KPushButton( iconLoader->loadIcon("messagebox_info",TDEIcon::Small), "", parent, "pDirInfo" ); TQToolTip::add( pDirInfo, i18n("Information about the wildcards.") ); defaultDirBox->addWidget( pDirInfo ); - connect( pDirInfo, TQT_SIGNAL(clicked()), - this, TQT_SLOT(dirInfo()) + connect( pDirInfo, TQ_SIGNAL(clicked()), + this, TQ_SLOT(dirInfo()) );*/ // pDirSelect = new KPushButton( iconLoader->loadIcon("folder",TDEIcon::Small), "", parent, "pDirSelect" ); // TQToolTip::add( pDirSelect, i18n("Choose an output directory") ); // defaultDirBox->addWidget( pDirSelect ); -// connect( pDirSelect, TQT_SIGNAL(clicked()), -// this, TQT_SLOT(selectDir()) +// connect( pDirSelect, TQ_SIGNAL(clicked()), +// this, TQ_SLOT(selectDir()) // ); TQHBoxLayout* priorityBox = new TQHBoxLayout( box, 6 ); @@ -112,8 +112,8 @@ ConfigGeneralPage::ConfigGeneralPage( Config* _config, TQWidget *parent, const c cPriority->insertStringList( sPriority ); cPriority->setCurrentItem( config->data.general.priority / 10 ); // NOTE that just works for 'normal' and 'low' priorityBox->addWidget( cPriority ); - connect( cPriority, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(cfgChanged()) + connect( cPriority, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(cfgChanged()) ); box->addSpacing( 5 ); @@ -123,8 +123,8 @@ ConfigGeneralPage::ConfigGeneralPage( Config* _config, TQWidget *parent, const c TQToolTip::add( cUseVFATNames, i18n("Replaces some special characters like \'?\' by \'_\'.") ); cUseVFATNames->setChecked( config->data.general.useVFATNames ); useVFATNamesBox->addWidget( cUseVFATNames ); - connect( cUseVFATNames, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(cfgChanged()) + connect( cUseVFATNames, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(cfgChanged()) ); box->addSpacing( 5 ); @@ -139,8 +139,8 @@ ConfigGeneralPage::ConfigGeneralPage( Config* _config, TQWidget *parent, const c cConflictHandling->insertStringList( sConflictHandling ); cConflictHandling->setCurrentItem( config->data.general.conflictHandling ); conflictHandlingBox->addWidget( cConflictHandling ); - connect( cConflictHandling, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(cfgChanged()) + connect( cConflictHandling, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(cfgChanged()) ); box->addSpacing( 5 ); @@ -150,8 +150,8 @@ ConfigGeneralPage::ConfigGeneralPage( Config* _config, TQWidget *parent, const c numFilesBox->addWidget( lNumFiles ); iNumFiles = new KIntSpinBox( 1, 100, 1, config->data.general.numFiles, 10, parent, "iNumFiles" ); numFilesBox->addWidget( iNumFiles ); - connect( iNumFiles, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(cfgChanged()) + connect( iNumFiles, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(cfgChanged()) ); box->addSpacing( 5 ); @@ -162,8 +162,8 @@ ConfigGeneralPage::ConfigGeneralPage( Config* _config, TQWidget *parent, const c iUpdateDelay = new KIntSpinBox( 100, 5000, 100, config->data.general.updateDelay, 10, parent, "iUpdateDelay" ); TQToolTip::add( iUpdateDelay, i18n("Update the progress bar in this interval (time in milliseconds)") ); updateDelayBox->addWidget( iUpdateDelay ); - connect( iUpdateDelay, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(cfgChanged()) + connect( iUpdateDelay, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(cfgChanged()) ); box->addSpacing( 5 ); @@ -173,8 +173,8 @@ ConfigGeneralPage::ConfigGeneralPage( Config* _config, TQWidget *parent, const c TQToolTip::add( cAskForNewOptions, i18n("If you open a file with soundKonverter and soundKonverter is already running,\nyou can either be asked to define new converting options\nor the current settings from the soundKonverter main window are used.") ); cAskForNewOptions->setChecked( config->data.general.askForNewOptions ); askForNewOptionsBox->addWidget( cAskForNewOptions ); - connect( cAskForNewOptions, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(cfgChanged()) + connect( cAskForNewOptions, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(cfgChanged()) ); box->addSpacing( 5 ); @@ -184,8 +184,8 @@ ConfigGeneralPage::ConfigGeneralPage( Config* _config, TQWidget *parent, const c TQToolTip::add( cExecuteUserScript, i18n("Executes a script after every finished conversion. Have a look at $TDEDIR/soundkonverter/userscript.sh") ); cExecuteUserScript->setChecked( config->data.general.executeUserScript ); executeUserScriptBox->addWidget( cExecuteUserScript ); - connect( cExecuteUserScript, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(cfgChanged()) + connect( cExecuteUserScript, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(cfgChanged()) ); box->addStretch(); |