telutils/dialpad/tsrc/unit/shared/mock_hbmainwindow.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 11 Jun 2010 14:07:16 +0300
changeset 27 7eb70891911c
child 31 a2467631ae02
permissions -rw-r--r--
Revision: 201021 Kit: 2010123

/*
* 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 <hbmainwindow.h>

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

// -----------------------------------------------------------------------------
// HbMainWindow::HbMainWindow
// -----------------------------------------------------------------------------
//
HbMainWindow::HbMainWindow( 
        QWidget * parent,
        Hb::WindowFlags windowFlags )
    : d_ptr(NULL)
    //QGraphicsView( /*parent, windowFlags*/ )
    {
    Q_UNUSED(parent)
    Q_UNUSED(windowFlags)
    }

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



// -----------------------------------------------------------------------------
// HbMainWindow::removeView
// -----------------------------------------------------------------------------
//
QGraphicsWidget * HbMainWindow::removeView( 
        int index )
    {
    SMC_MOCK_METHOD1( QGraphicsWidget *, int, index )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::currentViewIndex
// -----------------------------------------------------------------------------
//
int HbMainWindow::currentViewIndex(  ) const
    {
    SMC_MOCK_METHOD0( int )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::viewCount
// -----------------------------------------------------------------------------
//
int HbMainWindow::viewCount(  ) const
    {
    SMC_MOCK_METHOD0( int )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::indexOfView
// -----------------------------------------------------------------------------
//
int HbMainWindow::indexOfView( 
        HbView * view ) const
    {
    //SMC_MOCK_METHOD1( int, HbView *, view )
    Q_UNUSED(view)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::viewAt
// -----------------------------------------------------------------------------
//
HbView * HbMainWindow::viewAt( 
        int index ) const
    {
    SMC_MOCK_METHOD1( HbView *, int, index )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::addView
// -----------------------------------------------------------------------------
//
HbView * HbMainWindow::addView( 
        QGraphicsWidget * widget )
    {
    //SMC_MOCK_METHOD1( HbView *, QGraphicsWidget *, widget )
    Q_UNUSED(widget)
    }
// -----------------------------------------------------------------------------
// HbMainWindow::insertView
// -----------------------------------------------------------------------------
//
HbView * HbMainWindow::insertView( 
        int index,
        QGraphicsWidget * widget )
    {
    //SMC_MOCK_METHOD2( HbView *, int, index, 
    //    QGraphicsWidget *, widget )
	Q_UNUSED(index)
	Q_UNUSED(widget)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::removeView
// -----------------------------------------------------------------------------
//
void HbMainWindow::removeView( 
        QGraphicsWidget * widget )
    {
    //SMC_MOCK_METHOD1( void, QGraphicsWidget *, widget )
    Q_UNUSED(widget)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::views
// -----------------------------------------------------------------------------
//
QList <HbView * > HbMainWindow::views(  ) const
    {
    //SMC_MOCK_METHOD0( QList <HbView * > )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::currentView
// -----------------------------------------------------------------------------
//
HbView * HbMainWindow::currentView(  ) const
    {
    SMC_MOCK_METHOD0( HbView * )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::setCurrentView
// -----------------------------------------------------------------------------
//
void HbMainWindow::setCurrentView( 
        HbView * view,
        bool animate,
        Hb::ViewSwitchFlags flags )
    {
    //SMC_MOCK_METHOD3( void, HbView *, view, 
    //    bool, animate, 
    //    Hb::ViewSwitchFlags, flags )
    Q_UNUSED(view)
    Q_UNUSED(animate)
    Q_UNUSED(flags)
    }



// -----------------------------------------------------------------------------
// HbMainWindow::orientation
// -----------------------------------------------------------------------------
//
Qt::Orientation HbMainWindow::orientation(  ) const
    {
    SMC_MOCK_METHOD0( Qt::Orientation )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::setOrientation
// -----------------------------------------------------------------------------
//
void HbMainWindow::setOrientation( 
        Qt::Orientation orientation,
        bool animate )
    {
    //SMC_MOCK_METHOD2( void, Qt::Orientation, orientation, 
    //    bool, animate )
    Q_UNUSED(orientation)
    Q_UNUSED(animate)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::unsetOrientation
// -----------------------------------------------------------------------------
//
void HbMainWindow::unsetOrientation( 
        bool animate )
    {
    SMC_MOCK_METHOD1( void, bool, animate )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::showItems
// -----------------------------------------------------------------------------
//
void HbMainWindow::showItems( 
        Hb::SceneItems items )
    {
    //SMC_MOCK_METHOD1( void, Hb::SceneItems, items )
    Q_UNUSED(items)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::hideItems
// -----------------------------------------------------------------------------
//
void HbMainWindow::hideItems( 
        Hb::SceneItems items )
    {
    //SMC_MOCK_METHOD1( void, Hb::SceneItems, items )
    Q_UNUSED(items)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::visibleItems
// -----------------------------------------------------------------------------
//
Hb::SceneItems HbMainWindow::visibleItems(  ) const
    {
    SMC_MOCK_METHOD0( Hb::SceneItems )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::isItemVisible
// -----------------------------------------------------------------------------
//
bool HbMainWindow::isItemVisible( 
        Hb::SceneItem item ) const
    {
    //SMC_MOCK_METHOD1( bool, Hb::SceneItem, item )
    Q_UNUSED(item)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::setItemVisible
// -----------------------------------------------------------------------------
//
void HbMainWindow::setItemVisible( 
        Hb::SceneItem item,
        bool visible )
    {
    //SMC_MOCK_METHOD2( void, Hb::SceneItem, item, 
    //    bool, visible )
    Q_UNUSED(item)
    Q_UNUSED(visible)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::nativeBackgroundWindow
// -----------------------------------------------------------------------------
//
WId HbMainWindow::nativeBackgroundWindow(  )
    {
    SMC_MOCK_METHOD0( WId )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::resetNativeBackgroundWindow
// -----------------------------------------------------------------------------
//
void HbMainWindow::resetNativeBackgroundWindow(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::layoutRect
// -----------------------------------------------------------------------------
//
QRectF HbMainWindow::layoutRect(  ) const
    {
    SMC_MOCK_METHOD0( QRectF )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::setBackgroundImageName
// -----------------------------------------------------------------------------
//
void HbMainWindow::setBackgroundImageName( 
        Qt::Orientation orientation,
        const QString & name )
    {
    //SMC_MOCK_METHOD2( void, Qt::Orientation, orientation, 
    //    const QString &, name )
	Q_UNUSED(orientation)
	Q_UNUSED(name)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::backgroundImageName
// -----------------------------------------------------------------------------
//
QString HbMainWindow::backgroundImageName( 
        Qt::Orientation orientation ) const
    {
    //SMC_MOCK_METHOD1( QString, Qt::Orientation, orientation )
	Q_UNUSED(orientation)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::setCurrentViewIndex
// -----------------------------------------------------------------------------
//
void HbMainWindow::setCurrentViewIndex( 
        int index )
    {
    SMC_MOCK_METHOD1( void, int, index )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::nextView
// -----------------------------------------------------------------------------
//
void HbMainWindow::nextView(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::previousView
// -----------------------------------------------------------------------------
//
void HbMainWindow::previousView(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::broadcastEvent
// -----------------------------------------------------------------------------
//
void HbMainWindow::broadcastEvent( 
        int eventType )
    {
    SMC_MOCK_METHOD1( void, int, eventType )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::currentViewIndexChanged
// -----------------------------------------------------------------------------
//
void HbMainWindow::currentViewIndexChanged( 
        int index )
    {
    SMC_MOCK_METHOD1( void, int, index )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::viewReady
// -----------------------------------------------------------------------------
//
void HbMainWindow::viewReady(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::aboutToChangeView
// -----------------------------------------------------------------------------
//
void HbMainWindow::aboutToChangeView( 
        HbView * oldView,
        HbView * newView )
    {
    //SMC_MOCK_METHOD2( void, HbView *, oldView, 
    //    HbView *, newView )
	Q_UNUSED(oldView)
	Q_UNUSED(newView)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::currentViewChanged
// -----------------------------------------------------------------------------
//
void HbMainWindow::currentViewChanged( 
        HbView * view )
    {
    //SMC_MOCK_METHOD1( void, HbView *, view )
    Q_UNUSED(view)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::aboutToChangeOrientation
// -----------------------------------------------------------------------------
//
void HbMainWindow::aboutToChangeOrientation(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::aboutToChangeOrientation
// -----------------------------------------------------------------------------
//
void HbMainWindow::aboutToChangeOrientation( 
        Qt::Orientation newOrientation,
        bool animated )
    {
    //SMC_MOCK_METHOD2( void, Qt::Orientation, newOrientation, 
    //    bool, animated )
    Q_UNUSED(newOrientation)
    Q_UNUSED(animated)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::orientationChanged
// -----------------------------------------------------------------------------
//
void HbMainWindow::orientationChanged( 
        Qt::Orientation orientation )
    {
    //SMC_MOCK_METHOD1( void, Qt::Orientation, orientation )
    Q_UNUSED(orientation)
    }


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


// -----------------------------------------------------------------------------
// HbMainWindow::closeEvent
// -----------------------------------------------------------------------------
//
void HbMainWindow::closeEvent( 
        QCloseEvent * event )
    {
    //SMC_MOCK_METHOD1( void, QCloseEvent *, event )
    Q_UNUSED(event)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::keyPressEvent
// -----------------------------------------------------------------------------
//
void HbMainWindow::keyPressEvent( 
        QKeyEvent * event )
    {
    //SMC_MOCK_METHOD1( void, QKeyEvent *, event )
    Q_UNUSED(event)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::keyReleaseEvent
// -----------------------------------------------------------------------------
//
void HbMainWindow::keyReleaseEvent( 
        QKeyEvent * event )
    {
    //SMC_MOCK_METHOD1( void, QKeyEvent *, event )
    Q_UNUSED(event)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::resizeEvent
// -----------------------------------------------------------------------------
//
void HbMainWindow::resizeEvent( 
        QResizeEvent * event )
    {
    //SMC_MOCK_METHOD1( void, QResizeEvent *, event )
    Q_UNUSED(event)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::customEvent
// -----------------------------------------------------------------------------
//
void HbMainWindow::customEvent( 
        QEvent * event )
    {
    //SMC_MOCK_METHOD1( void, QEvent *, event )
    Q_UNUSED(event)
    }


// -----------------------------------------------------------------------------
// HbMainWindow::scrollContentsBy
// -----------------------------------------------------------------------------
//
void HbMainWindow::scrollContentsBy( 
        int dx,
        int dy )
    {
    SMC_MOCK_METHOD2( void, int, dx, 
        int, dy )
    }


// -----------------------------------------------------------------------------
// HbMainWindow::paintEvent
// -----------------------------------------------------------------------------
//
void HbMainWindow::paintEvent( 
        QPaintEvent * event )
    {
    //SMC_MOCK_METHOD1( void, QPaintEvent *, event )
    Q_UNUSED(event)
    }