cmmanager/cmapplsettingsui/tsrc/tst_applsettingsui/inc/applsettester.h
branchRCL_3
changeset 58 83ca720e2b9a
parent 57 05bc53fe583b
child 62 bb1f80fb7db2
equal deleted inserted replaced
57:05bc53fe583b 58:83ca720e2b9a
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * Dialog implementaton for test application 
       
    16 * for testing CM Manager Application Settings Ui.
       
    17 */
       
    18 
       
    19 #ifndef APPLSETTESTER_H
       
    20 #define APPLSETTESTER_H
       
    21 
       
    22 #include <QObject>
       
    23 #include <HbMainWindow>
       
    24 
       
    25 #include "cmapplsettingsui.h"
       
    26 
       
    27 class HbDocumentLoader;
       
    28 class HbCheckBox;
       
    29 class HbAction;
       
    30 class HbLabel;
       
    31 class HbLineEdit;
       
    32 class HbComboBox;
       
    33 
       
    34 class ApplSettTester : public HbMainWindow
       
    35 {
       
    36     Q_OBJECT
       
    37     
       
    38 public:
       
    39     ApplSettTester(QWidget *parent = 0);
       
    40     ~ApplSettTester();
       
    41         
       
    42 private slots:
       
    43     void runTest();
       
    44     void docmlLoad(Qt::Orientation orientation);
       
    45     void orientationChange(Qt::Orientation);
       
    46     void showResult(uint retval);
       
    47 
       
    48 private:
       
    49     
       
    50     HbDocumentLoader *docLoader;
       
    51     HbView *view;              
       
    52     HbAction *action;
       
    53     HbCheckBox *checkboxDest;
       
    54     HbCheckBox *checkboxCM;
       
    55     HbCheckBox *checkboxWlan;
       
    56     HbCheckBox *checkboxGprs;
       
    57     HbLabel *labelResult;
       
    58     HbLineEdit *selectionId;
       
    59     HbComboBox *selectionMode;
       
    60     
       
    61     CmApplSettingsUi *applSett;
       
    62     
       
    63     CmApplSettingsUi::SettingSelection mSelection;
       
    64 };
       
    65 
       
    66 #endif // APPLSETTESTER_H