phoneengine/phoneservices/tsrc/urischemeservicetestapp/urischemeservicetestappview.h
changeset 56 5bcb308bd24d
equal deleted inserted replaced
46:bc5a64e5bc3c 56:5bcb308bd24d
       
     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 *
       
    16 */
       
    17 
       
    18 #ifndef URISCHEMESERVICETESTAPPVIEW_H
       
    19 #define URISCHEMESERVICETESTAPPVIEW_H
       
    20 
       
    21 #include <QTime>
       
    22 #include <QMap>
       
    23 #include <HbView>
       
    24 
       
    25 class HbMainWindow;
       
    26 class HbLineEdit;
       
    27 class HbCheckBox;
       
    28 class HbLabel;
       
    29 
       
    30 class UriSchemeServiceTestAppView : public HbView
       
    31 {
       
    32     Q_OBJECT
       
    33 
       
    34 public:
       
    35     UriSchemeServiceTestAppView(HbMainWindow& mainWindow);
       
    36     ~UriSchemeServiceTestAppView();
       
    37 
       
    38 private slots:
       
    39     void makeCall(bool checked = false);
       
    40     void clearInputField(bool checked = false);
       
    41     void inputSpecialCharacter(bool checked);
       
    42     void setupTelUriConfiguration(int state);
       
    43     void setupCtiUriConfiguration(int state);
       
    44 
       
    45 private:
       
    46     HbMainWindow& m_mainWindow;
       
    47     HbLineEdit *m_lineEdit;
       
    48     HbCheckBox *m_telUriCheckBox;
       
    49     HbCheckBox *m_ctiUriCheckBox;
       
    50     HbLabel *m_uriLabel;
       
    51     
       
    52     QTime m_multitapTimer;
       
    53     int m_multitapIndex;
       
    54     int m_multitapCount;
       
    55     QMap<int, QChar> m_extraChar;
       
    56     QList<int> m_multitapCharacters;
       
    57 };
       
    58 
       
    59 #endif // URISCHEMESERVICETESTAPPVIEW_H