logsui/tsrc/logsservicestester/logsservicetesterwidget.h
changeset 6 41c0a814d878
child 21 2f0af9ba7665
equal deleted inserted replaced
4:e52d42f9500c 6:41c0a814d878
       
     1 /*
       
     2 * Copyright (c) 2009 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 *
       
    16 */
       
    17 
       
    18 #ifndef LOGSSERVICETESTERWIDGET_H
       
    19 #define LOGSSERVICETESTERWIDGET_H
       
    20 
       
    21 #include <hbwidget.h>
       
    22 
       
    23 class HbComboBox;
       
    24 class HbCheckBox;
       
    25 class HbLineEdit;
       
    26 class LogsServiceTesterAppCloser;
       
    27 
       
    28 class LogsServiceTesterWidget : public HbWidget
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32 public:
       
    33     LogsServiceTesterWidget(QGraphicsItem *parent=0);
       
    34     ~LogsServiceTesterWidget();   
       
    35 
       
    36 public slots:
       
    37 
       
    38     void startOldService();
       
    39     void startNewService();
       
    40     
       
    41     void dialerClosed();
       
    42     void dialerCloseError(int error);
       
    43     
       
    44 private:
       
    45     
       
    46     void fetchData();
       
    47     
       
    48 private:
       
    49     HbCheckBox* mCheckBox;
       
    50     HbComboBox* mComboBox;
       
    51     HbLineEdit* mEditor;
       
    52     
       
    53     int mViewIndex;
       
    54     bool mShowDialpad;
       
    55     QString mDialpadText;
       
    56     
       
    57     LogsServiceTesterAppCloser* mAppCloser;
       
    58 };
       
    59 
       
    60 
       
    61 #endif // LOGSSERVICETESTERWIDGET_H
       
    62