videocollection/tsrc/stubs/inc/hbtoolbarextension.h
changeset 44 518105d52e45
equal deleted inserted replaced
42:17f382c040b1 44:518105d52e45
       
     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:  hbinputdialog stub
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef HBTOOLBAREXTENSION_H
       
    20 #define HBTOOLBAREXTENSION_H
       
    21 
       
    22 #include "hbwidget.h"
       
    23 #include "hbaction.h"
       
    24 #include <qvariant.h>
       
    25 #include <qgraphicsitem.h>
       
    26 #include "hbicon.h"
       
    27 #include <qlist.h>
       
    28 
       
    29 class HbToolBarExtension : public HbWidget
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33 public:
       
    34     HbToolBarExtension(QGraphicsItem *parent = 0);
       
    35     ~HbToolBarExtension();
       
    36     
       
    37     HbAction *addAction ( const HbIcon &icon, const QString &text,
       
    38                               const QObject *receiver, const char *member );
       
    39     
       
    40 public:
       
    41 
       
    42     QList<QAction *> mActions;
       
    43     
       
    44     static int mAddActionCallCount;
       
    45 };
       
    46 
       
    47 #endif //HBTOOLBAREXTENSION_H