telutils/dialpad/tsrc/unit/shared/mock_dialpadbluetootheventfilter.cpp
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     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 <QEvent>
       
    19 #include <smcmockclassincludes.h>
       
    20 #include "dialpadbluetootheventfilter.h"
       
    21 
       
    22 // ============================ MEMBER FUNCTIONS ===============================
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 // DialpadBluetoothEventFilter::DialpadBluetoothEventFilter
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 DialpadBluetoothEventFilter::DialpadBluetoothEventFilter( 
       
    29         Dialpad * dialpad,
       
    30         QObject * parent )
       
    31     :
       
    32     QObject( parent )
       
    33     {
       
    34     Q_UNUSED(dialpad)
       
    35     }
       
    36 
       
    37 
       
    38 // -----------------------------------------------------------------------------
       
    39 // DialpadBluetoothEventFilter::~DialpadBluetoothEventFilter
       
    40 // -----------------------------------------------------------------------------
       
    41 //
       
    42 DialpadBluetoothEventFilter::~DialpadBluetoothEventFilter(  )
       
    43     {
       
    44     
       
    45     }
       
    46 
       
    47 
       
    48 // -----------------------------------------------------------------------------
       
    49 // DialpadBluetoothEventFilter::eventFilter
       
    50 // -----------------------------------------------------------------------------
       
    51 //
       
    52 bool DialpadBluetoothEventFilter::eventFilter( 
       
    53         QObject * watched,
       
    54         QEvent * event )
       
    55     {
       
    56     SMC_MOCK_METHOD2( bool, QObject *, watched, 
       
    57         QEvent *, event )
       
    58     }
       
    59 
       
    60 
       
    61 // -----------------------------------------------------------------------------
       
    62 // DialpadBluetoothEventFilter::toggleBluetooth
       
    63 // -----------------------------------------------------------------------------
       
    64 //
       
    65 void DialpadBluetoothEventFilter::toggleBluetooth()
       
    66 {
       
    67     SMC_MOCK_METHOD0( void )
       
    68 }