mpx/mpxviewframeworkqt/example_vf_pluginresolving/app/inc/welcomeview.h
changeset 62 b276843a15ba
equal deleted inserted replaced
58:c76ea6caa649 62:b276843a15ba
       
     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 WELCOMEVIEW_H_
       
    19 #define WELCOMEVIEW_H_
       
    20 
       
    21 #include <hbview.h>
       
    22 #include <Hbview.h>
       
    23 
       
    24 class HbLabel;
       
    25 class HbPushButton;
       
    26 class QSignalMapper;
       
    27 
       
    28 class WelcomeView : public HbView
       
    29     {
       
    30     
       
    31     Q_OBJECT
       
    32     
       
    33 public:
       
    34     
       
    35     WelcomeView(const QString &name = "Welcome!");
       
    36 
       
    37     virtual ~WelcomeView();
       
    38 
       
    39 public slots:
       
    40 
       
    41     void setLabelText(int commandId);
       
    42         
       
    43 private:
       
    44     
       
    45     bool connectButton(HbPushButton *button, int commandId);
       
    46     
       
    47     HbLabel *label;
       
    48     QSignalMapper *mapper;
       
    49     
       
    50     };
       
    51 
       
    52 #endif /* WELCOMEVIEW_H_ */