phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/ut_infowidget/inc/ut_infowidget.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 40 bab96b7ed1a4
parent 46 bc5a64e5bc3c
--- a/phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/ut_infowidget/inc/ut_infowidget.h	Tue Jun 15 14:14:38 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-/*
-* 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:
-*
-*/
-
-#ifndef UT_INFOWIDGET_H
-#define UT_INFOWIDGET_H
-
-#include <QtTest/QtTest>
-#include <hblabel.h>
-#include <hbstyleoptionlabel.h>
-#include <mockservice.h>
-#include <QColor>
-#include <QGraphicsWidget>
-#include "infowidgetengine.h"
-
-class InfoWidget;
-
-class UT_InfoWidget : public QObject, public MockService
-{
-    Q_OBJECT
-
-public:    
-    
-    UT_InfoWidget();
-    ~UT_InfoWidget();
-    
-private slots:
-
-    void init();
-    void cleanup();
-    
-    //From QGraphicsItem.
-    void t_boundingRect();
-    void t_shape();
-    void t_sizePolicy();
-    
-    void t_setHomeZoneDisplay(); 
-    void t_setMcnDisplay();
-    void t_setActiveLineDisplay();
-    void t_setSatDisplay();
-
-    void t_paint(); 
-    void t_mousePressEvent();
-    void t_mouseReleaseEvent(); 
-    void t_mouseMoveEvent(); 
-    void t_updateInfoDisplay();
-    void t_readPersistentPreferences();
-
-    void t_onInitialize();
-    void t_onUninitialize(); 
-    void t_onShow(); 
-    void t_onHide();
-    void t_readModel();
-    void t_handleModelError();
-    void t_mcnDisplaySettingChanged();
-    void t_satDisplaySettingChanged();
-    void t_settingsEditingFinished();
-
-    // private implementation tests
-    void t_updateItemsVisibility();
-    void t_layoutInfoDisplay(); 
-    void t_layoutSettingsDisplay(); 
-    void t_initializeInfoDisplayItems();
-    void t_initializeSettingsDisplayItems();
-    void t_startChanges();
-    void t_endChanges();
-    
-    void t_sizeHint();
-    
-    /*
-     * Not work from commmand prompt.
-     */
-    void t_changeEvent();
-    
-    
-
-private:
-    
-    InfoWidget *m_infoWidget;
-    InfoWidgetEngine::ModelData m_modelData;
-    QColor m_qcolor;
-    QGraphicsWidget m_qgraphicswidget;
-
-};
-
-#endif // UT_INFOWIDGET_H