videocollection/tsrc/stubs/inc/hbwidget.h
changeset 15 cf5481c2bc0b
child 17 69946d1824c4
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
       
     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:  stub hbwidget
       
    15 * 
       
    16 */
       
    17 
       
    18 #ifndef HBWIDGET_H
       
    19 #define HBWIDGET_H
       
    20 #include <QGraphicsWidget>
       
    21 #include <hbnamespace.h>
       
    22 
       
    23  /**
       
    24  * counter to make sure alloc dealloc match
       
    25  */
       
    26 
       
    27 
       
    28 class HbWidget : public QGraphicsWidget
       
    29 {
       
    30     Q_OBJECT
       
    31 public:
       
    32     HbWidget(QGraphicsItem *parent = 0) : QGraphicsWidget(parent){initializeCount++;}
       
    33     
       
    34     virtual ~HbWidget(){initializeCount--;}
       
    35     
       
    36     void clearActions() {}
       
    37     
       
    38     static int initializeCount;
       
    39 };
       
    40 
       
    41 #endif