calendarui/styleplugins/calengriditemstyleplugin/inc/calengriditemstyleplugin.h
changeset 23 fd30d51f876b
parent 18 c198609911f9
child 24 f6320731c6bb
child 26 a949c2543c15
child 45 b6db4fd4947b
equal deleted inserted replaced
18:c198609911f9 23:fd30d51f876b
     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: Header file for class CalenGridItemStylePlugin.
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef CALENGRIDITEMSTYLEPLUGIN_H
       
    19 #define CALENGRIDITEMSTYLEPLUGIN_H
       
    20 
       
    21 // System includes
       
    22 #include <QObject>
       
    23 #include <hbstyleinterface.h>
       
    24 
       
    25 // Forward declarations
       
    26 class QGraphicsItem;
       
    27 class QStyleOption;
       
    28 
       
    29 class CalenGridItemStylePlugin : public QObject, public HbStyleInterface
       
    30 {
       
    31     Q_OBJECT Q_INTERFACES(HbStyleInterface)
       
    32 
       
    33 public:
       
    34 	int primitiveCount() const;
       
    35 	QGraphicsItem *createPrimitive(HbStyle::Primitive primitive,
       
    36 	                              QGraphicsItem *parent = 0) const;
       
    37 	void updatePrimitive(QGraphicsItem *item, HbStyle::Primitive primitive,
       
    38 	                     const QStyleOption *option) const;
       
    39 	QString layoutPath() const;
       
    40 };
       
    41 
       
    42 #endif // CALENGRIDITEMSTYLEPLUGIN_H
       
    43 
       
    44 // End of file  --Don't remove this.