videocollection/tsrc/stubs/inc/hbnotificationdialog.h
changeset 36 8aed59de29f9
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
       
     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 hbnotificationdialog
       
    15 * 
       
    16 */
       
    17 
       
    18 #ifndef HBNOTIFICATIONDIALOG_H
       
    19 #define HBNOTIFICATIONDIALOG_H
       
    20 
       
    21 
       
    22 #include "hbdialog.h"
       
    23 #include "hbnamespace.h"
       
    24 
       
    25 class HbNotificationDialog :  public HbDialog
       
    26 {
       
    27    Q_OBJECT
       
    28    
       
    29    
       
    30 public:
       
    31  
       
    32     
       
    33     /**
       
    34      * contructor
       
    35      */
       
    36     HbNotificationDialog(QGraphicsItem *parent=0);
       
    37     
       
    38     /**
       
    39      * destructor
       
    40      */
       
    41     ~HbNotificationDialog();
       
    42     
       
    43     /**
       
    44      * sets mAttribute
       
    45      */
       
    46     void setAttribute(Qt::WidgetAttribute attr);
       
    47     
       
    48     /**
       
    49      * sets mTitle
       
    50      */
       
    51     void setTitle(QString txt);
       
    52     
       
    53     /**
       
    54      * sets mTitleTextWRapping
       
    55      */
       
    56     void setTitleTextWrapping(Hb::TextWrapping value);
       
    57     
       
    58     /**
       
    59      * method just calls deleteLater to remove object as soon as 
       
    60      * event loop gets called
       
    61      */
       
    62     void show();
       
    63             
       
    64     static QString mNotifDialogTitle;
       
    65     
       
    66     static Hb::TextWrapping mTitleTextWRapping;
       
    67     
       
    68     static Qt::WidgetAttribute mAttribute;
       
    69 
       
    70 };
       
    71 
       
    72 #endif