telutils/keysequencerecognitionservice/src/keysequencerecognitionprovider.cpp
changeset 51 12bc758d6a02
parent 42 35488577e233
--- a/telutils/keysequencerecognitionservice/src/keysequencerecognitionprovider.cpp	Fri Sep 17 17:09:13 2010 +0300
+++ b/telutils/keysequencerecognitionservice/src/keysequencerecognitionprovider.cpp	Mon Oct 04 15:57:13 2010 +0300
@@ -25,6 +25,7 @@
 #include "imeikeysequencehandler.h"
 #include "lifetimerkeysequencehandler.h"
 #include "simcontrolkeysequencehandler.h"
+#include "bluetoothkeysequencehandler.h"
 #include "keysequencerecognitionservicelog.h"
 
 /*!
@@ -54,7 +55,6 @@
     taskSettings.setVisibility(false);
 }
 
-
 /*!
   KeySequenceRecognitionProvider::~KeySequenceRecognitionProvider.
  */
@@ -63,7 +63,6 @@
     DPRINT_METHODENTRYEXIT;
 }
 
-
 /*!
   KeySequenceRecognitionProvider::keySequenceValidator.
  */
@@ -78,7 +77,6 @@
     return m_keySequenceValidator;
 }
 
-
 /*!
   KeySequenceRecognitionProvider::executeKeySequence.
  */
@@ -97,7 +95,6 @@
     return handled;
 }
 
-
 /*!
   KeySequenceRecognitionProvider::setupLocalization.
  */
@@ -118,7 +115,6 @@
     }
 }
 
-
 /*!
   KeySequenceRecognitionProvider::constructKeySequenceHandlers.
  */
@@ -145,9 +141,13 @@
         new SimControlKeySequenceHandler(this));
     m_handlers.append(simControlHandler.data());
     simControlHandler.take();
+
+    QScopedPointer<KeySequenceHandler> bluetoothHandler( 
+        new BluetoothKeySequenceHandler(this));
+    m_handlers.append(bluetoothHandler.data());
+    bluetoothHandler.take();
 }
 
-
 /*!
   KeySequenceRecognitionProvider::constructKeySequenceValidator.
  */