36
|
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 |
#include "hbnotificationdialog.h"
|
|
19 |
|
|
20 |
|
|
21 |
QString HbNotificationDialog::mNotifDialogTitle = "";
|
|
22 |
|
|
23 |
Hb::TextWrapping HbNotificationDialog::mTitleTextWRapping = Hb::TextNoWrap;
|
|
24 |
|
|
25 |
Qt::WidgetAttribute HbNotificationDialog::mAttribute = Qt::WA_Disabled;
|
|
26 |
|
|
27 |
HbNotificationDialog::HbNotificationDialog(QGraphicsItem *parent) :
|
|
28 |
HbDialog(parent)
|
|
29 |
{
|
|
30 |
|
|
31 |
}
|
|
32 |
|
|
33 |
HbNotificationDialog::~HbNotificationDialog()
|
|
34 |
{
|
|
35 |
|
|
36 |
}
|
|
37 |
|
|
38 |
void HbNotificationDialog::setAttribute(Qt::WidgetAttribute attr)
|
|
39 |
{
|
|
40 |
mAttribute = attr;
|
|
41 |
}
|
|
42 |
|
|
43 |
void HbNotificationDialog::setTitle(QString txt)
|
|
44 |
{
|
|
45 |
mNotifDialogTitle = txt;
|
|
46 |
}
|
|
47 |
|
|
48 |
void HbNotificationDialog::setTitleTextWrapping(Hb::TextWrapping value)
|
|
49 |
{
|
|
50 |
mTitleTextWRapping = value;
|
|
51 |
}
|
|
52 |
|
|
53 |
void HbNotificationDialog::show()
|
|
54 |
{
|
|
55 |
deleteLater();
|
|
56 |
}
|
|
57 |
|
|
58 |
|