Mercurial > hg > svcore
comparison data/model/EditableDenseThreeDimensionalModel.cpp @ 931:df82da55e86a warnfix_no_size_t
Disambiguate signals
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 15:24:55 +0100 |
parents | 59e7fe1b1003 |
children | 24964a8b31e7 3be40cf40c49 |
comparison
equal
deleted
inserted
replaced
930:06579b8ffb7b | 931:df82da55e86a |
---|---|
365 | 365 |
366 if (m_notifyOnAdd) { | 366 if (m_notifyOnAdd) { |
367 if (allChange) { | 367 if (allChange) { |
368 emit modelChanged(); | 368 emit modelChanged(); |
369 } else { | 369 } else { |
370 emit modelChanged(windowStart, windowStart + m_resolution); | 370 emit modelChangedWithin(windowStart, windowStart + m_resolution); |
371 } | 371 } |
372 } else { | 372 } else { |
373 if (allChange) { | 373 if (allChange) { |
374 m_sinceLastNotifyMin = -1; | 374 m_sinceLastNotifyMin = -1; |
375 m_sinceLastNotifyMax = -1; | 375 m_sinceLastNotifyMax = -1; |
485 } else if (!m_notifyOnAdd) { | 485 } else if (!m_notifyOnAdd) { |
486 | 486 |
487 if (update && | 487 if (update && |
488 m_sinceLastNotifyMin >= 0 && | 488 m_sinceLastNotifyMin >= 0 && |
489 m_sinceLastNotifyMax >= 0) { | 489 m_sinceLastNotifyMax >= 0) { |
490 emit modelChanged(m_sinceLastNotifyMin, | 490 emit modelChangedWithin(m_sinceLastNotifyMin, |
491 m_sinceLastNotifyMax + m_resolution); | 491 m_sinceLastNotifyMax + m_resolution); |
492 m_sinceLastNotifyMin = m_sinceLastNotifyMax = -1; | 492 m_sinceLastNotifyMin = m_sinceLastNotifyMax = -1; |
493 } else { | 493 } else { |
494 emit completionChanged(); | 494 emit completionChanged(); |
495 } | 495 } |
496 } else { | 496 } else { |