screensaver/screensaverplugins/snsrbigclockscreensaverplugin/inc/snsrdigitalclockcontainer.h
changeset 61 2b1b11a301d2
child 69 87476091b3f5
equal deleted inserted replaced
60:30f14686fb04 61:2b1b11a301d2
       
     1 /*
       
     2 * Copyright (c) 2009-2010 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_SnsrBigClockScreensaverPlugin)
       
    24 
       
    25 class HbLabel;
       
    26 class SnsrSwipeWidget;
       
    27 
       
    28 class SnsrDigitalClockContainer : public SnsrBigClockContainer
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32 public:
       
    33 
       
    34     SnsrDigitalClockContainer();
       
    35     ~SnsrDigitalClockContainer();
       
    36 
       
    37 public slots:
       
    38 
       
    39     virtual void update();
       
    40     virtual void changeLayout(Qt::Orientation orientation);
       
    41 
       
    42 public: // from base classes
       
    43 
       
    44     virtual int updateIntervalInMilliseconds();
       
    45 
       
    46 private: // data
       
    47 
       
    48     HbLabel *mTimeLabel;
       
    49     HbLabel *mAmPmLabel;
       
    50     HbLabel *mDateLabel;
       
    51     SnsrSwipeWidget *mSwipeWidget;
       
    52 
       
    53     SCREENSAVER_TEST_FRIEND_CLASS(T_SnsrBigClockScreensaverPlugin)
       
    54 };
       
    55 
       
    56 #endif // SNSRDIGITALCLOCKCONTAINER_H