videocollection/tsrc/stubs/inc/hbmessagebox.h
changeset 15 cf5481c2bc0b
child 24 7d93ee07fb27
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
       
     1 /*
       
     2 * Copyright (c) 2008-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:  HbMessageBox class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef HBMESSAGEBOX_H
       
    20 #define HBMESSAGEBOX_H
       
    21 
       
    22 #include <qstring.h>
       
    23 
       
    24 class QGraphicsWidget;
       
    25 class QGraphicsScene;
       
    26 class QGraphicsItem;
       
    27 
       
    28 class HbMessageBox
       
    29 {   
       
    30 public:
       
    31     /** stubbed from HbMessgeBox */
       
    32     static bool question(const QString &questionText,
       
    33         const QString &primaryButtonText = QString(),
       
    34         const QString &secondaryButtonText = QString(),
       
    35         QGraphicsWidget *headWidget = 0,
       
    36         QGraphicsScene *scene = 0,
       
    37         QGraphicsItem *parent = 0);
       
    38 
       
    39     /** stubbed from HbMessgeBox */
       
    40     static void information(const QString &informationText,
       
    41         QGraphicsWidget *headWidget = 0,
       
    42         QGraphicsScene *scene = 0,
       
    43         QGraphicsItem *parent = 0);
       
    44 
       
    45     /** stubbed from HbMessgeBox */
       
    46     static void warning(const QString &warningText,
       
    47         QGraphicsWidget *headWidget = 0,
       
    48         QGraphicsScene *scene = 0,
       
    49         QGraphicsItem *parent = 0 );
       
    50 };
       
    51 
       
    52 
       
    53 
       
    54 #endif // HBMESSAGEBOX_H