The Q_EMIT macro (just like the regular Qt emit) is syntactic
sugar to let people who read the code know that a method call
placed somewhere is actually a signal.
We don't use Q_EMIT consistently throughout PV and I don't
think it's really needed anyway, so this patch removes the
few remaining instances.
{
if (scale_ != scale) {
scale_ = scale;
{
if (scale_ != scale) {
scale_ = scale;
- Q_EMIT scale_changed();
{
if (offset_ != offset) {
offset_ = offset;
{
if (offset_ != offset) {
offset_ = offset;
- Q_EMIT offset_changed();
{
if (tick_prefix_ != tick_prefix) {
tick_prefix_ = tick_prefix;
{
if (tick_prefix_ != tick_prefix) {
tick_prefix_ = tick_prefix;
- Q_EMIT tick_prefix_changed();
{
if (tick_precision_ != tick_precision) {
tick_precision_ = tick_precision;
{
if (tick_precision_ != tick_precision) {
tick_precision_ = tick_precision;
- Q_EMIT tick_precision_changed();
+ tick_precision_changed();
{
if (tick_period_ != tick_period) {
tick_period_ = tick_period;
{
if (tick_period_ != tick_period) {
tick_period_ = tick_period;
- Q_EMIT tick_period_changed();
{
if (time_unit_ != time_unit) {
time_unit_ = time_unit;
{
if (time_unit_ != time_unit) {
time_unit_ = time_unit;
- Q_EMIT time_unit_changed();
value_ = val;
updateEdit();
value_ = val;
updateEdit();
- Q_EMIT valueChanged(value_);
}
void TimestampSpinBox::on_editingFinished()
}
void TimestampSpinBox::on_editingFinished()
updateCell(oldRow, oldCol);
updateCell(selRow, selCol);
if (row >= 0)
updateCell(oldRow, oldCol);
updateCell(selRow, selCol);
if (row >= 0)
- Q_EMIT selected(row, col);
}
void WellArray::focusInEvent(QFocusEvent*)
}
void WellArray::focusInEvent(QFocusEvent*)