mpx/mpxviewframeworkqt/example_vf_pluginresolving/plugins/welcomeviewplugin/inc/welcomeviewplugin.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 WELCOMEVIEWPLUGIN_H_
       
    19 #define WELCOMEVIEWPLUGIN_H_
       
    20 
       
    21 #include <QObject>
       
    22 #include <mpxviewpluginqt.h>
       
    23 
       
    24 class HbView;
       
    25 
       
    26 class WelcomeViewPlugin : public MpxViewPlugin
       
    27     {
       
    28     Q_OBJECT
       
    29     
       
    30 public:
       
    31 
       
    32 	WelcomeViewPlugin();
       
    33 	
       
    34 	virtual ~WelcomeViewPlugin();
       
    35 	
       
    36     virtual void createView();  
       
    37 
       
    38     virtual void destroyView();
       
    39 
       
    40     virtual void activateView();
       
    41 
       
    42     virtual void deactivateView();
       
    43 
       
    44     virtual QGraphicsWidget* getView();
       
    45 
       
    46 public slots:
       
    47 
       
    48     virtual void orientationChange(Qt::Orientation orientation);
       
    49 
       
    50     virtual void back();
       
    51 	
       
    52 private:
       
    53 	
       
    54 	HbView *viewInstance;
       
    55     
       
    56     };
       
    57 
       
    58 #endif /* WELCOMEVIEW_H_ */