Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/12/head
Michele Calgaro 11 months ago
parent 7469c7de8a
commit fb863e072f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -90,8 +90,8 @@ void DcrawBinary::checkSystem()
process.clearArguments();
process << path();
connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *, char*, int)),
this, TQT_SLOT(slotReadStdoutFromDcraw(TDEProcess*, char*, int)));
connect(&process, TQ_SIGNAL(receivedStdout(TDEProcess *, char*, int)),
this, TQ_SLOT(slotReadStdoutFromDcraw(TDEProcess*, char*, int)));
d->available = process.start(TDEProcess::Block, TDEProcess::Stdout);
}

@ -538,109 +538,109 @@ void DcrawSettingsWidget::setup(int advSettings)
// ---------------------------------------------------------------
connect(d->unclipColorComboBox, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotUnclipColorActivated(int)));
connect(d->unclipColorComboBox, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotUnclipColorActivated(int)));
connect(d->whiteBalanceComboBox, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotWhiteBalanceToggled(int)));
connect(d->whiteBalanceComboBox, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotWhiteBalanceToggled(int)));
connect(d->enableNoiseReduction, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotNoiseReductionToggled(bool)));
connect(d->enableNoiseReduction, TQ_SIGNAL(toggled(bool)),
this, TQ_SLOT(slotNoiseReductionToggled(bool)));
connect(d->enableCACorrection, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotCACorrectionToggled(bool)));
connect(d->enableCACorrection, TQ_SIGNAL(toggled(bool)),
this, TQ_SLOT(slotCACorrectionToggled(bool)));
connect(d->blackPointCheckBox, TQT_SIGNAL(toggled(bool)),
d->blackPointSpinBox, TQT_SLOT(setEnabled(bool)));
connect(d->blackPointCheckBox, TQ_SIGNAL(toggled(bool)),
d->blackPointSpinBox, TQ_SLOT(setEnabled(bool)));
connect(d->whitePointCheckBox, TQT_SIGNAL(toggled(bool)),
d->whitePointSpinBox, TQT_SLOT(setEnabled(bool)));
connect(d->whitePointCheckBox, TQ_SIGNAL(toggled(bool)),
d->whitePointSpinBox, TQ_SLOT(setEnabled(bool)));
connect(d->sixteenBitsImage, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotsixteenBitsImageToggled(bool)));
connect(d->sixteenBitsImage, TQ_SIGNAL(toggled(bool)),
this, TQ_SLOT(slotsixteenBitsImageToggled(bool)));
connect(dcrawVersion, TQT_SIGNAL(leftClickedURL(const TQString&)),
this, TQT_SLOT(processDcrawURL(const TQString&)));
connect(dcrawVersion, TQ_SIGNAL(leftClickedURL(const TQString&)),
this, TQ_SLOT(processDcrawURL(const TQString&)));
connect(d->inputColorSpaceComboBox, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotInputColorSpaceChanged(int)));
connect(d->inputColorSpaceComboBox, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotInputColorSpaceChanged(int)));
connect(d->outputColorSpaceComboBox, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotOutputColorSpaceChanged(int)));
connect(d->outputColorSpaceComboBox, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotOutputColorSpaceChanged(int)));
// Wrapper to emit signal when something is changed in settings.
connect(d->inIccUrlEdit, TQT_SIGNAL(urlSelected(const TQString&)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->inIccUrlEdit, TQ_SIGNAL(urlSelected(const TQString&)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->outIccUrlEdit, TQT_SIGNAL(urlSelected(const TQString&)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->outIccUrlEdit, TQ_SIGNAL(urlSelected(const TQString&)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->whiteBalanceComboBox, TQT_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->whiteBalanceComboBox, TQ_SIGNAL(activated(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->RAWQualityComboBox, TQT_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->RAWQualityComboBox, TQ_SIGNAL(activated(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->unclipColorComboBox, TQT_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->unclipColorComboBox, TQ_SIGNAL(activated(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->inputColorSpaceComboBox, TQT_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->inputColorSpaceComboBox, TQ_SIGNAL(activated(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->outputColorSpaceComboBox, TQT_SIGNAL(activated(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->outputColorSpaceComboBox, TQ_SIGNAL(activated(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->blackPointCheckBox, TQT_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->blackPointCheckBox, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->whitePointCheckBox, TQT_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->whitePointCheckBox, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->sixteenBitsImage, TQT_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->sixteenBitsImage, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->fourColorCheckBox, TQT_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->fourColorCheckBox, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->dontStretchPixelsCheckBox, TQT_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->dontStretchPixelsCheckBox, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->enableNoiseReduction, TQT_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->enableNoiseReduction, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->enableCACorrection, TQT_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->enableCACorrection, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->customWhiteBalanceSpinBox, TQT_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->customWhiteBalanceSpinBox, TQ_SIGNAL(valueChanged(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->reconstructSpinBox, TQT_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->reconstructSpinBox, TQ_SIGNAL(valueChanged(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->blackPointSpinBox, TQT_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->blackPointSpinBox, TQ_SIGNAL(valueChanged(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->whitePointSpinBox, TQT_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->whitePointSpinBox, TQ_SIGNAL(valueChanged(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->NRThresholdSpinBox, TQT_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->NRThresholdSpinBox, TQ_SIGNAL(valueChanged(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->medianFilterPassesSpinBox, TQT_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->medianFilterPassesSpinBox, TQ_SIGNAL(valueChanged(int)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->customWhiteBalanceGreenSpinBox, TQT_SIGNAL(valueChanged(double)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->customWhiteBalanceGreenSpinBox, TQ_SIGNAL(valueChanged(double)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->caRedMultSpinBox, TQT_SIGNAL(valueChanged(double)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->caRedMultSpinBox, TQ_SIGNAL(valueChanged(double)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->caBlueMultSpinBox, TQT_SIGNAL(valueChanged(double)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->caBlueMultSpinBox, TQ_SIGNAL(valueChanged(double)),
this, TQ_SIGNAL(signalSettingsChanged()));
connect(d->brightnessSpinBox, TQT_SIGNAL(valueChanged(double)),
this, TQT_SIGNAL(signalSettingsChanged()));
connect(d->brightnessSpinBox, TQ_SIGNAL(valueChanged(double)),
this, TQ_SIGNAL(signalSettingsChanged()));
}
DcrawSettingsWidget::~DcrawSettingsWidget()

@ -78,11 +78,11 @@ RComboBox::RComboBox(TQWidget *parent)
// -------------------------------------------------------------
connect(d->resetButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotReset()));
connect(d->resetButton, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotReset()));
connect(d->combo, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotItemActivated(int)));
connect(d->combo, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotItemActivated(int)));
}
RComboBox::~RComboBox()

@ -79,11 +79,11 @@ RIntNumInput::RIntNumInput(TQWidget *parent)
// -------------------------------------------------------------
connect(d->resetButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotReset()));
connect(d->resetButton, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotReset()));
connect(d->input, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotValueChanged(int)));
connect(d->input, TQ_SIGNAL(valueChanged(int)),
this, TQ_SLOT(slotValueChanged(int)));
}
RIntNumInput::~RIntNumInput()
@ -177,11 +177,11 @@ RDoubleNumInput::RDoubleNumInput(TQWidget *parent)
// -------------------------------------------------------------
connect(d->resetButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotReset()));
connect(d->resetButton, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotReset()));
connect(d->input, TQT_SIGNAL(valueChanged(double)),
this, TQT_SLOT(slotValueChanged(double)));
connect(d->input, TQ_SIGNAL(valueChanged(double)),
this, TQ_SLOT(slotValueChanged(double)));
}
RDoubleNumInput::~RDoubleNumInput()

Loading…
Cancel
Save