Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb863e072f)
r14.1.x
Michele Calgaro 10 months ago
parent d2e28d1ae4
commit 4bbbe2988d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

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

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

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

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

Loading…
Cancel
Save