phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/mocks/mock_infowidget.cpp
author Pat Downey <patd@symbian.org>
Fri, 04 Jun 2010 10:19:18 +0100
changeset 37 ba76fc04e6c2
permissions -rw-r--r--
Revert last code drop.

/* 
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
#include <QDebug>
#include <smcmockclassincludes.h>
#include <hbanchorlayout.h>
#include <hbwidget.h>
#include <hbiconitem.h>
#include <hbmarqueeitem.h>
#include <hbfontspec.h>
#include <hbdialog.h>
#include <hblabel.h>
#include <hbaction.h>
#include <hbcheckbox.h>
#include <hbpushbutton.h>
#include <QPainter>
#include <QPainterPath>
#include <QBrush>
#include <QGraphicsLinearLayout>
#include "infowidget.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// InfoWidget::InfoWidget
// -----------------------------------------------------------------------------
//
InfoWidget::InfoWidget( 
        QGraphicsItem * parent,
        Qt::WindowFlags flags )
    : HbWidget(parent, flags)
    {
    
    }


// -----------------------------------------------------------------------------
// InfoWidget::~InfoWidget
// -----------------------------------------------------------------------------
//
InfoWidget::~InfoWidget(  )
    {
    
    }


// -----------------------------------------------------------------------------
// InfoWidget::boundingRect
// -----------------------------------------------------------------------------
//
QRectF InfoWidget::boundingRect(  ) const
    {
    SMC_MOCK_METHOD0( QRectF )
    }


// -----------------------------------------------------------------------------
// InfoWidget::shape
// -----------------------------------------------------------------------------
//
QPainterPath InfoWidget::shape(  ) const
    {
    SMC_MOCK_METHOD0( QPainterPath )
    }


// -----------------------------------------------------------------------------
// InfoWidget::sizeHint
// -----------------------------------------------------------------------------
//
QSizeF InfoWidget::sizeHint( 
        Qt::SizeHint which,
        const QSizeF & constraint ) const
    {
    SMC_MOCK_METHOD2( QSizeF, Qt::SizeHint, which, 
        const QSizeF &, constraint )
    }


// -----------------------------------------------------------------------------
// InfoWidget::sizePolicy
// -----------------------------------------------------------------------------
//
QSizePolicy InfoWidget::sizePolicy(  ) const
    {
    SMC_MOCK_METHOD0( QSizePolicy )
    }


// -----------------------------------------------------------------------------
// InfoWidget::homeZoneDisplay
// -----------------------------------------------------------------------------
//
QString InfoWidget::homeZoneDisplay()
    {
    SMC_MOCK_METHOD0( QString );
    }


// -----------------------------------------------------------------------------
// InfoWidget::setHomeZoneDisplay
// -----------------------------------------------------------------------------
//
void InfoWidget::setHomeZoneDisplay( 
        QString value )
    {
    SMC_MOCK_METHOD1( void, QString, value )
    }


// -----------------------------------------------------------------------------
// InfoWidget::mcnDisplay
// -----------------------------------------------------------------------------
//
QString InfoWidget::mcnDisplay(  )
    {
    SMC_MOCK_METHOD0( QString )
    }


// -----------------------------------------------------------------------------
// InfoWidget::setMcnDisplay
// -----------------------------------------------------------------------------
//
void InfoWidget::setMcnDisplay( 
        QString value )
    {
    SMC_MOCK_METHOD1( void, QString, value )
    }


// -----------------------------------------------------------------------------
// InfoWidget::activeLineDisplay
// -----------------------------------------------------------------------------
//
QString InfoWidget::activeLineDisplay(  )
    {
    SMC_MOCK_METHOD0( QString )
    }


// -----------------------------------------------------------------------------
// InfoWidget::setActiveLineDisplay
// -----------------------------------------------------------------------------
//
void InfoWidget::setActiveLineDisplay( 
        QString value )
    {
    SMC_MOCK_METHOD1( void, QString, value )
    }


// -----------------------------------------------------------------------------
// InfoWidget::satDisplay
// -----------------------------------------------------------------------------
//
QString InfoWidget::satDisplay(  )
    {
    SMC_MOCK_METHOD0( QString )
    }


// -----------------------------------------------------------------------------
// InfoWidget::setSatDisplay
// -----------------------------------------------------------------------------
//
void InfoWidget::setSatDisplay( 
        QString value )
    {
    SMC_MOCK_METHOD1( void, QString, value )
    }


// -----------------------------------------------------------------------------
// InfoWidget::spnDisplay
// -----------------------------------------------------------------------------
//
QString InfoWidget::spnDisplay(  )
    {
    SMC_MOCK_METHOD0( QString )
    }


// -----------------------------------------------------------------------------
// InfoWidget::setSpnDisplay
// -----------------------------------------------------------------------------
//
void InfoWidget::setSpnDisplay( 
        QString value )
    {
    SMC_MOCK_METHOD1( void, QString, value )
    }


// -----------------------------------------------------------------------------
// InfoWidget::onInitialize
// -----------------------------------------------------------------------------
//
void InfoWidget::onInitialize(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidget::onUninitialize
// -----------------------------------------------------------------------------
//
void InfoWidget::onUninitialize(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidget::onShow
// -----------------------------------------------------------------------------
//
void InfoWidget::onShow(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidget::onHide
// -----------------------------------------------------------------------------
//
void InfoWidget::onHide(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidget::readModel
// -----------------------------------------------------------------------------
//
void InfoWidget::readModel(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidget::handleModelError
// -----------------------------------------------------------------------------
//
void InfoWidget::handleModelError( 
        int operation,
        int errorCode )
    {
    SMC_MOCK_METHOD2( void, int, operation, 
        int, errorCode )
    }


// -----------------------------------------------------------------------------
// InfoWidget::spnDisplaySettingChanged
// -----------------------------------------------------------------------------
//
void InfoWidget::spnDisplaySettingChanged( 
        int state )
    {
    SMC_MOCK_METHOD1( void, int, state )
    }


// -----------------------------------------------------------------------------
// InfoWidget::mcnDisplaySettingChanged
// -----------------------------------------------------------------------------
//
void InfoWidget::mcnDisplaySettingChanged( 
        int state )
    {
    SMC_MOCK_METHOD1( void, int, state )
    }


// -----------------------------------------------------------------------------
// InfoWidget::satDisplaySettingChanged
// -----------------------------------------------------------------------------
//
void InfoWidget::satDisplaySettingChanged( 
        int state )
    {
    SMC_MOCK_METHOD1( void, int, state )
    }


// -----------------------------------------------------------------------------
// InfoWidget::settingsEditingFinished
// -----------------------------------------------------------------------------
//
void InfoWidget::settingsEditingFinished(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidget::settingsValidationFailed
// -----------------------------------------------------------------------------
//
void InfoWidget::settingsValidationFailed(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidget::paint
// -----------------------------------------------------------------------------
//
void InfoWidget::paint( 
        QPainter * painter,
        const QStyleOptionGraphicsItem * option,
        QWidget * widget )
    {
    SMC_MOCK_METHOD3( void, QPainter *, painter, 
        const QStyleOptionGraphicsItem *, option, 
        QWidget *, widget )
    }


// -----------------------------------------------------------------------------
// InfoWidget::mousePressEvent
// -----------------------------------------------------------------------------
//
void InfoWidget::mousePressEvent( 
        QGraphicsSceneMouseEvent * event )
    {
    SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event )
    }


// -----------------------------------------------------------------------------
// InfoWidget::mouseReleaseEvent
// -----------------------------------------------------------------------------
//
void InfoWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
    {
    SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event )    
    }


// -----------------------------------------------------------------------------
// InfoWidget::mouseMoveEvent
// -----------------------------------------------------------------------------
//
void InfoWidget::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
    {
    SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event )
    }


// -----------------------------------------------------------------------------
// InfoWidget::updateInfoDisplay
// -----------------------------------------------------------------------------
//
void InfoWidget::updateInfoDisplay(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidget::readPersistentPreferences
// -----------------------------------------------------------------------------
//
bool InfoWidget::readPersistentPreferences(  )
    {
    SMC_MOCK_METHOD0( bool )
    }


// -----------------------------------------------------------------------------
// InfoWidget::initializeCheckBoxStates
// -----------------------------------------------------------------------------
//
void InfoWidget::initializeCheckBoxStates(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidget::changeEvent
// -----------------------------------------------------------------------------
//
void InfoWidget::changeEvent( 
        QEvent * event )
    {
    SMC_MOCK_METHOD1( void, QEvent *, event )
    }


// -----------------------------------------------------------------------------
// InfoWidget::installTranslator
// -----------------------------------------------------------------------------
//
bool InfoWidget::installTranslator( 
        QString translationFile )
    {
    SMC_MOCK_METHOD1( bool, QString, translationFile )
    }


// -----------------------------------------------------------------------------
// InfoWidget::removeTranslators
// -----------------------------------------------------------------------------
//
void InfoWidget::removeTranslators(  )
    {
    SMC_MOCK_METHOD0( void )
    }