summaryrefslogtreecommitdiffstats
path: root/examples/rot13
diff options
context:
space:
mode:
authorFrerich Raabe <raabe@kde.org>2014-09-16 03:15:39 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-09-16 03:41:40 +0200
commit0c5a2640a6ab97b1ba97eb2399bd58fb1e890f0c (patch)
treea25e6f2cdec89e052e1ffc5bb631030d4d07a653 /examples/rot13
parentb47847259808cc29f6bf98b8c788603d0d21a038 (diff)
downloadtqt3-0c5a2640a6ab97b1ba97eb2399bd58fb1e890f0c.tar.gz
tqt3-0c5a2640a6ab97b1ba97eb2399bd58fb1e890f0c.zip
Add repaint optimization to TQProgressBar
This optimization makes TQProgressBar::setProgress() only repaint itself if stepping to the new progress would cause a graphical change. This means that for a width W and a total number of steps S, it will repaint itself 'W' times (every 'S/W' steps) instead of 'S' times (every step) as it is right now.
Diffstat (limited to 'examples/rot13')
0 files changed, 0 insertions, 0 deletions