homescreenapp/stateplugins/hshomescreenstateplugin/tsrc/t_hshomescreenstateplugin/src/hsmessageboxwrapper_mock.cpp
equal
deleted
inserted
replaced
|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "hsmessageboxwrapper.h" |
|
19 |
|
20 /*! |
|
21 \class HsMessageBoxWrapper |
|
22 \ingroup group_hsutils |
|
23 \brief |
|
24 */ |
|
25 struct HsMessageBoxWrapperImpl{ |
|
26 |
|
27 }; |
|
28 /*! |
|
29 |
|
30 */ |
|
31 HsMessageBoxWrapper::HsMessageBoxWrapper(QObject *parent) |
|
32 : QObject(parent), mImpl(new HsMessageBoxWrapperImpl) |
|
33 { |
|
34 } |
|
35 |
|
36 /*! |
|
37 |
|
38 */ |
|
39 HsMessageBoxWrapper::~HsMessageBoxWrapper() |
|
40 { |
|
41 delete mImpl; |
|
42 } |
|
43 |
|
44 /*! |
|
45 |
|
46 */ |
|
47 void HsMessageBoxWrapper::setHeader(const QString &header) |
|
48 { |
|
49 Q_UNUSED(header); |
|
50 } |
|
51 /*! |
|
52 |
|
53 */ |
|
54 void HsMessageBoxWrapper::setQueryText(const QString &queryText) |
|
55 { |
|
56 Q_UNUSED(queryText); |
|
57 } |
|
58 /*! |
|
59 |
|
60 */ |
|
61 void HsMessageBoxWrapper::show() |
|
62 { |
|
63 emit accepted(); |
|
64 } |
|
65 /*! |
|
66 |
|
67 */ |
|
68 void HsMessageBoxWrapper::close() |
|
69 { |
|
70 } |
|
71 |
|
72 /*! |
|
73 |
|
74 */ |
|
75 void HsMessageBoxWrapper::onDialogClosed(int action) |
|
76 { |
|
77 Q_UNUSED(action) |
|
78 } |