src/corelib/concurrent/qfuturewatcher.cpp
changeset 7 f7bc934e204c
parent 0 1918ee327afb
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtCore module of the Qt Toolkit.
     7 ** This file is part of the QtCore module of the Qt Toolkit.
     8 **
     8 **
   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.