calendarui/views/dayview/tsrc/unittests/unittest_calendaystatusstrip/calendayutils.h
equal
deleted
inserted
replaced
|
1 /*! |
|
2 Mocked class CalenDayUtils |
|
3 */ |
|
4 /* |
|
5 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
6 * All rights reserved. |
|
7 * This component and the accompanying materials are made available |
|
8 * under the terms of "Eclipse Public License v1.0" |
|
9 * which accompanies this distribution, and is available |
|
10 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
11 * |
|
12 * Initial Contributors: |
|
13 * Nokia Corporation - initial contribution. |
|
14 * |
|
15 * Contributors: |
|
16 * |
|
17 * Description: CalenDayUtils utility class header. |
|
18 * |
|
19 */ |
|
20 |
|
21 #ifndef CALENDAYUTILS_H_ |
|
22 #define CALENDAYUTILS_H_ |
|
23 |
|
24 class CalenDayUtils |
|
25 { |
|
26 public: |
|
27 static CalenDayUtils *instance() |
|
28 { |
|
29 return new CalenDayUtils(); |
|
30 } |
|
31 ~CalenDayUtils() |
|
32 { |
|
33 } |
|
34 |
|
35 qreal hourElementHeight() |
|
36 { |
|
37 return 30; |
|
38 } |
|
39 |
|
40 protected: |
|
41 CalenDayUtils() |
|
42 { |
|
43 } |
|
44 }; |
|
45 |
|
46 #endif /* CALENDAYUTILS_H_ */ |