telutils/keysequencerecognitionservice/src/manufacturerkeysequencehandler.cpp
changeset 32 1f002146abb4
parent 27 7eb70891911c
equal deleted inserted replaced
31:a2467631ae02 32:1f002146abb4
    37     setKeySequenceValidator(
    37     setKeySequenceValidator(
    38         QRegExp::escape(KCodeSwVersion) + "|" +
    38         QRegExp::escape(KCodeSwVersion) + "|" +
    39         QRegExp::escape(KCodeActivateRfsNormal)  + "|" +
    39         QRegExp::escape(KCodeActivateRfsNormal)  + "|" +
    40         QRegExp::escape(KCodeActivateRfsDeep) + "|" +
    40         QRegExp::escape(KCodeActivateRfsDeep) + "|" +
    41         QRegExp::escape(KCodeBtAddress) + "|" +
    41         QRegExp::escape(KCodeBtAddress) + "|" +
    42         QRegExp::escape(KCodeRFLoopback) + "|" +
    42         QRegExp::escape(KCodeRFLoopback));
    43         QRegExp::escape(KCodeBtDebugMode));
       
    44     
    43     
    45     m_codeToInterfaceMappings[KCodeSwVersion] = InterfaceDescription(
    44     m_codeToInterfaceMappings[KCodeSwVersion] = InterfaceDescription(
    46         "com.nokia.services", "devicemanager", "showVersionNumber()");
    45         "com.nokia.services", "devicemanager", "showVersionNumber()");
    47     
    46     
    48     m_codeToInterfaceMappings[KCodeActivateRfsNormal] = InterfaceDescription(
    47     m_codeToInterfaceMappings[KCodeActivateRfsNormal] = InterfaceDescription(
    52     
    51     
    53     m_codeToInterfaceMappings[KCodeBtAddress] = InterfaceDescription(
    52     m_codeToInterfaceMappings[KCodeBtAddress] = InterfaceDescription(
    54         "com.nokia.services", "bluetooth", "showBluetoothDeviceAddress()");
    53         "com.nokia.services", "bluetooth", "showBluetoothDeviceAddress()");
    55     m_codeToInterfaceMappings[KCodeRFLoopback] = InterfaceDescription(
    54     m_codeToInterfaceMappings[KCodeRFLoopback] = InterfaceDescription(
    56         "com.nokia.services", "bluetooth", "showBluetoothLoopback()");
    55         "com.nokia.services", "bluetooth", "showBluetoothLoopback()");
    57     m_codeToInterfaceMappings[KCodeBtDebugMode] = InterfaceDescription(
       
    58         "com.nokia.services", "bluetooth", "activateBluetoothDebugMode()");
       
    59 }
    56 }
    60 
    57 
    61 
    58 
    62 /*!
    59 /*!
    63   ManufacturerKeySequenceHandler::~ManufacturerKeySequenceHandler.
    60   ManufacturerKeySequenceHandler::~ManufacturerKeySequenceHandler.