videoplayback/videoplaybackview/tsrc/testvideoplaybackview/stub/inc/hbdialog.h
changeset 63 4707a0db12f6
equal deleted inserted replaced
58:d2b028fd1f7d 63:4707a0db12f6
       
     1 /*
       
     2 * Copyright (c) 2010 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 hbdialog
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:   1 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef HBDIALOG_H
       
    23 #define HBDIALOG_H
       
    24 
       
    25 #include <QObject>
       
    26 
       
    27 class HbDialog : public QObject
       
    28 {
       
    29     Q_OBJECT
       
    30 
       
    31     signals:
       
    32         void aboutToClose();
       
    33     
       
    34     public:
       
    35         HbDialog() {}
       
    36         virtual ~HbDialog() {}
       
    37         void setAttribute( int value )
       
    38         {
       
    39             Q_UNUSED(value);
       
    40         }
       
    41         void setDismissPolicy( int value )
       
    42         {
       
    43             Q_UNUSED(value);
       
    44         }
       
    45         void setTimeout( int value )
       
    46         {
       
    47             Q_UNUSED(value);
       
    48         }
       
    49         void show()
       
    50         {
       
    51             emit this->aboutToClose();
       
    52             delete this;
       
    53         }
       
    54         
       
    55         
       
    56 };
       
    57 
       
    58 #endif /*HBDIALOG_H*/
       
    59