taskswitcher/testapplications/appiconstarter/starterwidget.h
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     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 STARTERWIDGET_H_
       
    19 #define STARTERWIDGET_H_
       
    20 
       
    21 #include <QProcess>
       
    22 #include <hbwidget.h>
       
    23 #include <QGraphicsLinearLayout>
       
    24 #include <QGraphicsGridLayout>
       
    25 #include <HbPushButton>
       
    26 #include <hblabel.h>
       
    27 #include <e32base.h>
       
    28 #include <f32file.h>
       
    29 #include <APGTASK.H>
       
    30 class QTimer;
       
    31 
       
    32 class starterwidget: public HbWidget
       
    33 	{
       
    34 	Q_OBJECT
       
    35 public:
       
    36 	starterwidget( QGraphicsItem* parent = 0 );
       
    37 	~starterwidget();
       
    38 private:	
       
    39     void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
       
    40     QGraphicsGridLayout* mGridLayout;    
       
    41     
       
    42     HbPushButton* mStart1;
       
    43     HbPushButton* mStart2;
       
    44     
       
    45         
       
    46     	
       
    47 private slots:
       
    48 	void startopen1();
       
    49 	void acivate1();
       
    50 	void startopen2();
       
    51 	void acivate2();
       
    52 	
       
    53 
       
    54 	
       
    55 private:
       
    56 
       
    57 	QString mMessage;
       
    58 	QTimer* mTimer1;	
       
    59 	QTimer* mTimer2;	
       
    60 	};
       
    61 
       
    62 #endif /* STARTERWIDGET_H_*/