|
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 #include <QDebug> |
|
18 #include <smcmockclassincludes.h> |
|
19 #include "infowidgetnetworkhandler.h" |
|
20 #include "infowidgetsathandler.h" |
|
21 #include "infowidgetengine.h" |
|
22 #include "infowidgetpreferences.h" |
|
23 |
|
24 |
|
25 // ============================ MEMBER FUNCTIONS =============================== |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // InfoWidgetEngine::InfoWidgetEngine |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 InfoWidgetEngine::InfoWidgetEngine( |
|
32 QObject * parent ) |
|
33 :QObject( parent ) |
|
34 { |
|
35 |
|
36 } |
|
37 |
|
38 |
|
39 // ----------------------------------------------------------------------------- |
|
40 // InfoWidgetEngine::~InfoWidgetEngine |
|
41 // ----------------------------------------------------------------------------- |
|
42 // |
|
43 InfoWidgetEngine::~InfoWidgetEngine( ) |
|
44 { |
|
45 |
|
46 } |
|
47 |
|
48 |
|
49 // ----------------------------------------------------------------------------- |
|
50 // InfoWidgetEngine::modelData |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 const InfoWidgetEngine::ModelData & InfoWidgetEngine::modelData( ) const |
|
54 { |
|
55 SMC_MOCK_METHOD0( const InfoWidgetEngine::ModelData & ) |
|
56 } |
|
57 |
|
58 |
|
59 // ----------------------------------------------------------------------------- |
|
60 // InfoWidgetEngine::updateNetworkDataToModel |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 void InfoWidgetEngine::updateNetworkDataToModel( ) |
|
64 { |
|
65 SMC_MOCK_METHOD0( void ) |
|
66 } |
|
67 |
|
68 |
|
69 // ----------------------------------------------------------------------------- |
|
70 // InfoWidgetEngine::updateSatDataToModel |
|
71 // ----------------------------------------------------------------------------- |
|
72 // |
|
73 void InfoWidgetEngine::updateSatDataToModel( ) |
|
74 { |
|
75 SMC_MOCK_METHOD0( void ) |
|
76 } |
|
77 |
|
78 |
|
79 // ----------------------------------------------------------------------------- |
|
80 // InfoWidgetEngine::updateLineDataToModel |
|
81 // ----------------------------------------------------------------------------- |
|
82 // |
|
83 void InfoWidgetEngine::updateLineDataToModel( ) |
|
84 { |
|
85 SMC_MOCK_METHOD0( void ) |
|
86 } |
|
87 |
|
88 |
|
89 // ----------------------------------------------------------------------------- |
|
90 // InfoWidgetEngine::handleNetworkError |
|
91 // ----------------------------------------------------------------------------- |
|
92 // |
|
93 void InfoWidgetEngine::handleNetworkError( |
|
94 int operation, |
|
95 int errorCode ) |
|
96 { |
|
97 SMC_MOCK_METHOD2( void, int, operation, |
|
98 int, errorCode ) |
|
99 } |
|
100 |
|
101 |
|
102 // ----------------------------------------------------------------------------- |
|
103 // InfoWidgetEngine::handleSatError |
|
104 // ----------------------------------------------------------------------------- |
|
105 // |
|
106 void InfoWidgetEngine::handleSatError( |
|
107 int operation, |
|
108 int errorCode ) |
|
109 { |
|
110 SMC_MOCK_METHOD2( void, int, operation, |
|
111 int, errorCode ) |
|
112 } |
|
113 |
|
114 |
|
115 // ----------------------------------------------------------------------------- |
|
116 // InfoWidgetEngine::handleLineError |
|
117 // ----------------------------------------------------------------------------- |
|
118 // |
|
119 void InfoWidgetEngine::handleLineError( |
|
120 int operation, |
|
121 int errorCode ) |
|
122 { |
|
123 SMC_MOCK_METHOD2( void, int, operation, |
|
124 int, errorCode ) |
|
125 } |
|
126 |
|
127 |
|
128 // ----------------------------------------------------------------------------- |
|
129 // InfoWidgetEngine::suspend |
|
130 // ----------------------------------------------------------------------------- |
|
131 // |
|
132 void InfoWidgetEngine::suspend( ) |
|
133 { |
|
134 SMC_MOCK_METHOD0( void ) |
|
135 } |
|
136 |
|
137 |
|
138 // ----------------------------------------------------------------------------- |
|
139 // InfoWidgetEngine::resume |
|
140 // ----------------------------------------------------------------------------- |
|
141 // |
|
142 void InfoWidgetEngine::resume( ) |
|
143 { |
|
144 SMC_MOCK_METHOD0( void ) |
|
145 } |
|
146 |
|
147 |
|
148 // ----------------------------------------------------------------------------- |
|
149 // InfoWidgetEngine::preferencesChanged |
|
150 // ----------------------------------------------------------------------------- |
|
151 // |
|
152 void InfoWidgetEngine::handlePreferencesChanged( |
|
153 InfoWidgetPreferences::Options options) |
|
154 { |
|
155 //SMC_MOCK_METHOD1( void, InfoWidgetPreferences::Options, options ) |
|
156 } |
|
157 |
|
158 |