1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #include <QDebug> |
|
18 #include <smcmockclassincludes.h> |
|
19 #include "keysequencehandler.h" |
|
20 |
|
21 // ============================ MEMBER FUNCTIONS =============================== |
|
22 |
|
23 // ----------------------------------------------------------------------------- |
|
24 // KeySequenceHandler::KeySequenceHandler |
|
25 // ----------------------------------------------------------------------------- |
|
26 // |
|
27 KeySequenceHandler::KeySequenceHandler( |
|
28 QObject * parent ) |
|
29 : |
|
30 QObject(parent), |
|
31 m_keySequenceValidator("") |
|
32 { |
|
33 |
|
34 } |
|
35 |
|
36 |
|
37 // ----------------------------------------------------------------------------- |
|
38 // KeySequenceHandler::~KeySequenceHandler |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 KeySequenceHandler::~KeySequenceHandler( ) |
|
42 { |
|
43 |
|
44 } |
|
45 |
|
46 |
|
47 // ----------------------------------------------------------------------------- |
|
48 // KeySequenceHandler::keySequenceValidator |
|
49 // ----------------------------------------------------------------------------- |
|
50 // |
|
51 QString KeySequenceHandler::keySequenceValidator( ) const |
|
52 { |
|
53 SMC_MOCK_METHOD0( QString ) |
|
54 } |
|
55 |
|
56 |
|
57 // ----------------------------------------------------------------------------- |
|
58 // KeySequenceHandler::setKeySequenceValidator |
|
59 // ----------------------------------------------------------------------------- |
|
60 // |
|
61 void KeySequenceHandler::setKeySequenceValidator( |
|
62 const QString & validator ) |
|
63 { |
|
64 SMC_MOCK_METHOD1( void, const QString &, validator ) |
|
65 } |
|
66 |
|
67 |
|