diff -r ba76fc04e6c2 -r 6b911d05207e phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_hbcheckbox.cpp --- a/phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_hbcheckbox.cpp Fri Jun 04 10:19:18 2010 +0100 +++ b/phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_hbcheckbox.cpp Wed Jun 23 18:12:20 2010 +0300 @@ -17,7 +17,6 @@ #include #include -#include #include #include #include @@ -30,7 +29,7 @@ // ----------------------------------------------------------------------------- // HbCheckBox::HbCheckBox( - const QString & text, + const QString & /*text*/, QGraphicsItem * parent ) : HbAbstractButton( parent ) @@ -138,9 +137,9 @@ // ----------------------------------------------------------------------------- // void HbCheckBox::initStyleOption( - HbStyleOptionCheckBox * option ) const + HbStyleOptionCheckBox * ) const { - SMC_MOCK_METHOD1( void, HbStyleOptionCheckBox *, option ) + } @@ -186,6 +185,7 @@ } +#ifndef HB_GESTURE_FW // ----------------------------------------------------------------------------- // HbCheckBox::mouseReleaseEvent // ----------------------------------------------------------------------------- @@ -206,6 +206,18 @@ { SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event ) } +#endif +#ifdef HB_GESTURE_FW + // ----------------------------------------------------------------------------- + // HbCheckBox::gestureEvent + // ----------------------------------------------------------------------------- + // + void HbCheckBox::gestureEvent( + QGestureEvent * event ) + { + SMC_MOCK_METHOD1( void, QGestureEvent *, event ) + } +#endif // -----------------------------------------------------------------------------