camerauis/cameraxui/cxui/src/cxuiselftimer.cpp
changeset 39 c5025ea871a1
parent 38 0f0b4c1d7744
child 37 64817133cd1d
equal deleted inserted replaced
38:0f0b4c1d7744 39:c5025ea871a1
   126 bool CxuiSelfTimer::isOngoing()
   126 bool CxuiSelfTimer::isOngoing()
   127 {
   127 {
   128     return mTimer.isActive();
   128     return mTimer.isActive();
   129 }
   129 }
   130 
   130 
       
   131 /*!
       
   132    Returns current timeout value of selftimer.
       
   133  */
       
   134 int CxuiSelfTimer::getTimeout() const
       
   135 {
       
   136     return mDelay;
       
   137 }
       
   138 
   131 /*! Slot for canceling the selftimer.
   139 /*! Slot for canceling the selftimer.
   132     Disables selftimer, sets back the postcapturetimeout if it
   140     Disables selftimer, sets back the postcapturetimeout if it
   133     has been changed by selftimer and emits signal to notify interested
   141     has been changed by selftimer and emits signal to notify interested
   134     parties that cancel has been called.
   142     parties that cancel has been called.
   135 
   143