46 CpPhoneNotes::~CpPhoneNotes( ) |
46 CpPhoneNotes::~CpPhoneNotes( ) |
47 { |
47 { |
48 |
48 |
49 } |
49 } |
50 |
50 |
51 |
|
52 |
|
53 // ----------------------------------------------------------------------------- |
51 // ----------------------------------------------------------------------------- |
54 // CpPhoneNotes::showGlobalProgressNote |
52 // CpPhoneNotes::showGlobalProgressNote |
55 // ----------------------------------------------------------------------------- |
53 // ----------------------------------------------------------------------------- |
56 // |
54 // |
57 void CpPhoneNotes::showGlobalProgressNote( int & noteId, const QString & text ) |
55 void CpPhoneNotes::showGlobalProgressNote( |
|
56 int & noteId, |
|
57 const QString & text ) |
58 { |
58 { |
59 SMC_MOCK_METHOD2( void, int &, noteId, const QString &, text ) |
59 SMC_MOCK_METHOD2( void, int &, noteId, |
|
60 const QString &, text ) |
60 } |
61 } |
61 |
62 |
62 |
63 |
63 // ----------------------------------------------------------------------------- |
64 // ----------------------------------------------------------------------------- |
64 // CpPhoneNotes::showGlobalNote |
65 // CpPhoneNotes::showGlobalNote |
77 |
78 |
78 // ----------------------------------------------------------------------------- |
79 // ----------------------------------------------------------------------------- |
79 // CpPhoneNotes::showGlobalErrorNote |
80 // CpPhoneNotes::showGlobalErrorNote |
80 // ----------------------------------------------------------------------------- |
81 // ----------------------------------------------------------------------------- |
81 // |
82 // |
82 void CpPhoneNotes::showGlobalErrorNote( int & noteId, int errorCode ) |
83 void CpPhoneNotes::showGlobalErrorNote( |
|
84 int & noteId, |
|
85 int errorCode ) |
83 { |
86 { |
84 SMC_MOCK_METHOD2( void, int &, noteId, int, errorCode ) |
87 SMC_MOCK_METHOD2( void, int &, noteId, |
|
88 int, errorCode ) |
85 } |
89 } |
|
90 |
86 |
91 |
87 // ----------------------------------------------------------------------------- |
92 // ----------------------------------------------------------------------------- |
88 // CpPhoneNotes::showBasicServiceList |
93 // CpPhoneNotes::showBasicServiceList |
89 // ----------------------------------------------------------------------------- |
94 // ----------------------------------------------------------------------------- |
90 // |
95 // |
91 void CpPhoneNotes::showBasicServiceList( |
96 void CpPhoneNotes::showBasicServiceList( |
92 const QString &title, |
97 const QString & title, |
93 const QList<unsigned char> &basicServiceGroupIds) |
98 const QList<unsigned char> & basicServiceGroupIds ) |
94 { |
99 { |
95 SMC_MOCK_METHOD2( void, const QString &, title, |
100 SMC_MOCK_METHOD2( void, const QString &, title, |
96 const QList<unsigned char> &, basicServiceGroupIds ) |
101 const QList<unsigned char> &, basicServiceGroupIds ) |
97 } |
102 } |
|
103 |
98 |
104 |
99 // ----------------------------------------------------------------------------- |
105 // ----------------------------------------------------------------------------- |
100 // CpPhoneNotes::showCallDivertDetails |
106 // CpPhoneNotes::showCallDivertDetails |
101 // ----------------------------------------------------------------------------- |
107 // ----------------------------------------------------------------------------- |
102 // |
108 // |
109 |
115 |
110 // ----------------------------------------------------------------------------- |
116 // ----------------------------------------------------------------------------- |
111 // CpPhoneNotes::showPasswordQueryDialog |
117 // CpPhoneNotes::showPasswordQueryDialog |
112 // ----------------------------------------------------------------------------- |
118 // ----------------------------------------------------------------------------- |
113 // |
119 // |
114 void CpPhoneNotes::showPasswordQueryDialog( |
120 void CpPhoneNotes::showPasswordQueryDialog( |
115 const QString &title, |
121 const QString & title, |
116 const QValidator &validator, |
122 const QValidator & validator, |
117 int maxPasswordLength, |
123 int maxPasswordLength ) |
118 QString &password, |
124 { |
119 bool &ok) |
125 SMC_MOCK_METHOD3( void, const QString &, title, |
120 { |
126 const QValidator &, validator, |
121 SMC_MOCK_METHOD5( void, |
127 int, maxPasswordLength ) |
122 const QString &, title, |
128 } |
123 const QValidator &, validator, |
|
124 int, maxPasswordLength, |
|
125 QString &, password, |
|
126 bool &, ok) |
|
127 } |
|
128 |
129 |
129 |
130 |
130 // ----------------------------------------------------------------------------- |
131 // ----------------------------------------------------------------------------- |
131 // CpPhoneNotes::cancelNote |
132 // CpPhoneNotes::cancelNote |
132 // ----------------------------------------------------------------------------- |
133 // ----------------------------------------------------------------------------- |
133 // |
134 // |
134 void CpPhoneNotes::cancelNote( int noteId ) |
135 void CpPhoneNotes::cancelNote( |
|
136 int noteId ) |
135 { |
137 { |
136 SMC_MOCK_METHOD1( void, int, noteId ) |
138 SMC_MOCK_METHOD1( void, int, noteId ) |
137 } |
139 } |
138 |
140 |
139 |
141 |
140 // ----------------------------------------------------------------------------- |
142 // ----------------------------------------------------------------------------- |
141 // CpPhoneNotes::noteShowing |
143 // CpPhoneNotes::noteShowing |
142 // ----------------------------------------------------------------------------- |
144 // ----------------------------------------------------------------------------- |
143 // |
145 // |
144 bool CpPhoneNotes::noteShowing() |
146 bool CpPhoneNotes::noteShowing( ) |
145 { |
147 { |
146 SMC_MOCK_METHOD0( bool ) |
148 SMC_MOCK_METHOD0( bool ) |
147 } |
149 } |
|
150 |
|
151 |
|
152 // ----------------------------------------------------------------------------- |
|
153 // CpPhoneNotes::finishedPasswordQueryDialog |
|
154 // ----------------------------------------------------------------------------- |
|
155 // |
|
156 void CpPhoneNotes::finishedPasswordQueryDialog( |
|
157 HbAction * action ) |
|
158 { |
|
159 //SMC_MOCK_METHOD1( void, HbAction *, action ) |
|
160 } |
148 |
161 |
149 |
162 |
150 // ----------------------------------------------------------------------------- |
163 // ----------------------------------------------------------------------------- |
151 // CpPhoneNotes::activeNoteAboutToClose |
164 // CpPhoneNotes::activeNoteAboutToClose |
152 // ----------------------------------------------------------------------------- |
165 // ----------------------------------------------------------------------------- |