calendarui/views/dayview/tsrc/unittests/unittest_calendayview/calenpluginlabel.h
changeset 45 b6db4fd4947b
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
       
     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:  CalenPluginLabel class definition.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CALENPLUGINLABEL_H
       
    19 #define CALENPLUGINLABEL_H
       
    20 
       
    21 // System includes
       
    22 #include <hblabel.h>
       
    23 
       
    24 class MCalenServices;
       
    25 class CalenPluginLabel : public HbLabel
       
    26 {
       
    27 	Q_OBJECT
       
    28 
       
    29 public:
       
    30 	Q_DECL_EXPORT CalenPluginLabel(MCalenServices &services, QGraphicsItem *parent = 0) : mServices(services){Q_UNUSED(parent);}
       
    31 	Q_DECL_EXPORT ~CalenPluginLabel(){}
       
    32 
       
    33 protected:
       
    34 	void gestureEvent(QGestureEvent *event){Q_UNUSED(event);}
       
    35 
       
    36 	
       
    37 private:
       
    38 	MCalenServices	&mServices;
       
    39 };
       
    40 	
       
    41 #endif /* CALENPLUGINLABEL_H */
       
    42 
       
    43 // End of file  --Don't remove this.