|
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: CmApplSettingsUi stub |
|
15 * |
|
16 */ |
|
17 |
|
18 // INCLUDE FILES |
|
19 #include "cmapplsettingsui.h" |
|
20 |
|
21 // --------------------------------------------------------------------------- |
|
22 // CmApplSettingsUi |
|
23 // --------------------------------------------------------------------------- |
|
24 // |
|
25 CmApplSettingsUi::CmApplSettingsUi(QObject* parent) |
|
26 : QObject(parent), |
|
27 mOpenCallAmount(0) |
|
28 { |
|
29 } |
|
30 |
|
31 // --------------------------------------------------------------------------- |
|
32 // CmApplSettingsUi |
|
33 // --------------------------------------------------------------------------- |
|
34 // |
|
35 CmApplSettingsUi::~CmApplSettingsUi() |
|
36 { |
|
37 } |
|
38 |
|
39 // --------------------------------------------------------------------------- |
|
40 // setOptions |
|
41 // --------------------------------------------------------------------------- |
|
42 // |
|
43 void CmApplSettingsUi::setOptions( |
|
44 const QFlags<SelectionDialogItems> &listItems, |
|
45 const QSet<BearerTypeFilter> &bearerFilter) |
|
46 { |
|
47 mListItems = listItems; |
|
48 mBearerTypeFilter = bearerFilter; |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // setSelection |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 void CmApplSettingsUi::setSelection(const SettingSelection &selection) |
|
56 { |
|
57 mSelection = selection; |
|
58 } |
|
59 |
|
60 // --------------------------------------------------------------------------- |
|
61 // selection |
|
62 // --------------------------------------------------------------------------- |
|
63 // |
|
64 CmApplSettingsUi::SettingSelection CmApplSettingsUi::selection() const |
|
65 { |
|
66 return mSelection; |
|
67 } |
|
68 |
|
69 // --------------------------------------------------------------------------- |
|
70 // open |
|
71 // --------------------------------------------------------------------------- |
|
72 // |
|
73 void CmApplSettingsUi::open() |
|
74 { |
|
75 mOpenCallAmount++; |
|
76 } |
|
77 |
|
78 // --------------------------------------------------------------------------- |
|
79 // emitFinished |
|
80 // --------------------------------------------------------------------------- |
|
81 // |
|
82 void CmApplSettingsUi::emitFinished(uint status) |
|
83 { |
|
84 emit finished(status); |
|
85 } |