camerauis/cameraxui/cxui/src/cxuiselftimer.cpp
changeset 32 5c1e3c6aa4ef
parent 29 699651f2666f
child 37 64817133cd1d
equal deleted inserted replaced
29:699651f2666f 32:5c1e3c6aa4ef
   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