screensaverapp/screensaverproviders/snsrbigclockscreensaverprovider/inc/snsrdigitalclockcontainer.h
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: Container for digital clock. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef SNSRDIGITALCLOCKCONTAINER_H |
|
19 #define SNSRDIGITALCLOCKCONTAINER_H |
|
20 |
|
21 #include "snsrbigclockcontainer.h" |
|
22 |
|
23 SCREENSAVER_TEST_CLASS(T_SnsrBigClockScreensaverProvider) |
|
24 |
|
25 class HbLabel; |
|
26 |
|
27 class SnsrDigitalClockContainer : public SnsrBigClockContainer |
|
28 { |
|
29 Q_OBJECT |
|
30 |
|
31 public: |
|
32 |
|
33 SnsrDigitalClockContainer(); |
|
34 ~SnsrDigitalClockContainer(); |
|
35 |
|
36 public slots: |
|
37 |
|
38 virtual void update(); |
|
39 virtual void changeLayout(Qt::Orientation orientation); |
|
40 |
|
41 private: |
|
42 |
|
43 HbLabel *mTimeLabel; |
|
44 HbLabel *mAmPmLabel; |
|
45 HbLabel *mDateLabel; |
|
46 |
|
47 SCREENSAVER_TEST_FRIEND_CLASS(T_SnsrBigClockScreensaverProvider) |
|
48 }; |
|
49 |
|
50 #endif // SNSRDIGITALCLOCKCONTAINER_H |