equal
deleted
inserted
replaced
497 */ |
497 */ |
498 |
498 |
499 /*! \fn void QFutureWatcher::setFuture(const QFuture<T> &future) |
499 /*! \fn void QFutureWatcher::setFuture(const QFuture<T> &future) |
500 |
500 |
501 Starts watching the given \a future. |
501 Starts watching the given \a future. |
|
502 |
|
503 One of the signals might be emitted for the current state of the |
|
504 \a future. For example, if the future is already stopped, the |
|
505 finished signal will be emitted. |
|
506 |
|
507 To avoid a race condition, it is important to call this function |
|
508 \i after doing the connections. |
502 */ |
509 */ |
503 |
510 |
504 /*! \fn QFuture<T> QFutureWatcher::future() const |
511 /*! \fn QFuture<T> QFutureWatcher::future() const |
505 |
512 |
506 Returns the watched future. |
513 Returns the watched future. |