diff options
author | kh1 <karsten.heimrich@nokia.com> | 2012-02-14 22:10:24 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@nokia.com> | 2012-02-15 15:56:18 +0100 |
commit | 0be49ce19440387132b3a922c74748a9cfdc176a (patch) | |
tree | cea9fdc2ddfe3007081c1583af2376bb0ad1642d /examples/tutorial/packages | |
parent | 619885013462b075fca6237d54f9a4a0897b8b89 (diff) |
Extend and fix KDJob.
- Supersedes http://codereview.qt-project.org/#change,14386
- Extend the class with a timeout, once the timeout gets hit
the execution will be canceled.
- Fix delete later, as a subclass can emit finished without the
super class and than delete later wouldn't be called at all.
- We can't use a single shot timer here, as we would hit a possible
timeout once we use the class as stack object. Always restart the
timer. A value of -1 will stop the timeout timer.
Change-Id: Ib8aef07209557e1ad362759ce16930aebbd9bdf3
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'examples/tutorial/packages')
0 files changed, 0 insertions, 0 deletions