homescreenapp/stateplugins/hsmenuworkerstateplugin/tsrc/t_hsmenuworkerstateplugin/src/t_hspreviewhswidgetstate.cpp
changeset 97 66b5fe3c07fd
parent 90 3ac3aaebaee5
equal deleted inserted replaced
95:32e56106abf2 97:66b5fe3c07fd
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  Main test class for hsHomeScreenStatePlugin library.
    14 * Description:  Main test class for hsHomeScreenStatePlugin library.
    15 *
    15 *
    16 */
    16 */
    17 
       
    18 
    17 
    19 #include "t_hsmenuworkerstateplugin.h"
    18 #include "t_hsmenuworkerstateplugin.h"
    20 
    19 
    21 #include <QStateMachine>
    20 #include <QStateMachine>
    22 #include <HbMainwindow>
    21 #include <HbMainwindow>
    37 #include "hspage.h"
    36 #include "hspage.h"
    38 #include "hsscene.h"
    37 #include "hsscene.h"
    39 #include "HsWidgetHost.h"
    38 #include "HsWidgetHost.h"
    40 
    39 
    41 // ---------------------------------------------------------------------------
    40 // ---------------------------------------------------------------------------
       
    41 //
    42 // ---------------------------------------------------------------------------
    42 // ---------------------------------------------------------------------------
    43 //
    43 //
    44 void MenuStatesTest::HsPreviewHSWidgetState_construction()
    44 void MenuStatesTest::HsPreviewHSWidgetState_construction()
    45 {
    45 {
    46 #ifdef Q_OS_SYMBIAN
    46 #ifdef Q_OS_SYMBIAN
    64     __UHEAP_MARKEND;
    64     __UHEAP_MARKEND;
    65 #endif//UT_MEMORY_CHECK
    65 #endif//UT_MEMORY_CHECK
    66 #endif//Q_OS_SYMBIAN
    66 #endif//Q_OS_SYMBIAN
    67 }
    67 }
    68 
    68 
    69 
    69 // ---------------------------------------------------------------------------
    70 // ---------------------------------------------------------------------------
    70 //
    71 // ---------------------------------------------------------------------------
    71 // ---------------------------------------------------------------------------
    72 //
    72 //
    73 void MenuStatesTest::HsPreviewHSWidgetState_showMessageWidgetCorrupted()
    73 void MenuStatesTest::HsPreviewHSWidgetState_showMessageWidgetCorrupted()
    74 {
    74 {
    75 #ifdef Q_OS_SYMBIAN
    75 #ifdef Q_OS_SYMBIAN
    90     __UHEAP_MARKEND;
    90     __UHEAP_MARKEND;
    91 #endif//UT_MEMORY_CHECK
    91 #endif//UT_MEMORY_CHECK
    92 #endif//Q_OS_SYMBIAN
    92 #endif//Q_OS_SYMBIAN
    93 }
    93 }
    94 
    94 
    95 
    95 // ---------------------------------------------------------------------------
    96 // ---------------------------------------------------------------------------
    96 //
    97 // ---------------------------------------------------------------------------
    97 // ---------------------------------------------------------------------------
    98 //
    98 //
    99 void MenuStatesTest::HsPreviewHSWidgetState_onEntry()
    99 void MenuStatesTest::HsPreviewHSWidgetState_onEntry()
   100 {
   100 {
   101 #ifdef Q_OS_SYMBIAN
   101 #ifdef Q_OS_SYMBIAN
   137 #endif//UT_MEMORY_CHECK
   137 #endif//UT_MEMORY_CHECK
   138 #endif//Q_OS_SYMBIAN
   138 #endif//Q_OS_SYMBIAN
   139 }
   139 }
   140 
   140 
   141 // ---------------------------------------------------------------------------
   141 // ---------------------------------------------------------------------------
       
   142 //
   142 // ---------------------------------------------------------------------------
   143 // ---------------------------------------------------------------------------
   143 //
   144 //
   144 void MenuStatesTest::HsPreviewHSWidgetState_buildPreviewDialog()
   145 void MenuStatesTest::HsPreviewHSWidgetState_buildPreviewDialog()
   145 {
   146 {
   146 #ifdef Q_OS_SYMBIAN
   147 #ifdef Q_OS_SYMBIAN
   172 #endif//UT_MEMORY_CHECK
   173 #endif//UT_MEMORY_CHECK
   173 #endif//Q_OS_SYMBIAN
   174 #endif//Q_OS_SYMBIAN
   174 }
   175 }
   175 
   176 
   176 // ---------------------------------------------------------------------------
   177 // ---------------------------------------------------------------------------
       
   178 //
   177 // ---------------------------------------------------------------------------
   179 // ---------------------------------------------------------------------------
   178 //
   180 //
   179 void MenuStatesTest::HsPreviewHSWidgetState_addToHomeScreen()
   181 void MenuStatesTest::HsPreviewHSWidgetState_addToHomeScreen()
   180 {
   182 {
   181 #ifdef Q_OS_SYMBIAN
   183 #ifdef Q_OS_SYMBIAN