camerauis/cameraxui/cxui/src/cxuicapturekeyhandler.cpp
changeset 56 01e205c615b9
parent 48 42ba2d16bf40
--- a/camerauis/cameraxui/cxui/src/cxuicapturekeyhandler.cpp	Wed Aug 18 09:37:18 2010 +0300
+++ b/camerauis/cameraxui/cxui/src/cxuicapturekeyhandler.cpp	Thu Sep 02 20:14:28 2010 +0300
@@ -37,7 +37,7 @@
 {
     d_ptr = new CxuiCaptureKeyHandlerPrivate(aEngine, this);
     
-    d_ptr->listenKeys(true);
+    d_ptr->startListeningKeys();
 }
 
 CxuiCaptureKeyHandler::~CxuiCaptureKeyHandler()
@@ -45,17 +45,23 @@
     CX_DEBUG_ENTER_FUNCTION();
 
     Q_D(CxuiCaptureKeyHandler);
-    d->listenKeys(false);
+    d->stopListeningKeys();
 
     delete d;
 
     CX_DEBUG_EXIT_FUNCTION();
 }
 
-void CxuiCaptureKeyHandler::listenKeys(bool listen)
+void CxuiCaptureKeyHandler::startListeningKeys()
 {
     Q_D(CxuiCaptureKeyHandler);
-    d->listenKeys(listen);
+    d->startListeningKeys();
+}
+
+void CxuiCaptureKeyHandler::stopListeningKeys()
+{
+    Q_D(CxuiCaptureKeyHandler);
+    d->stopListeningKeys();
 }
 
 bool CxuiCaptureKeyHandler::isAutofocusKeyPressed()