diff -r 4e8ebe173323 -r 23b5d6a29cce homescreenapp/widgetplugins/hsclockwidgetplugin/inc/hsclockwidgettype_symbian.h --- a/homescreenapp/widgetplugins/hsclockwidgetplugin/inc/hsclockwidgettype_symbian.h Mon May 03 12:24:59 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -/* -* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Clock widget -* -*/ - -#ifndef HSCLOCKWIDGETTYPE_H -#define HSCLOCKWIDGETTYPE_H - -#include -#include -#include - -HOMESCREEN_TEST_CLASS(TestClockWidget) - -class CEnvironmentChangeNotifier; -class HsClockWidgetType : public QObject -{ - Q_OBJECT - -public: - - HsClockWidgetType(QObject *parent = 0); - ~HsClockWidgetType(); - - QString type() const; - - static TInt EnvironmentChanged( TAny* aObj ); - -signals: - void typeChanged(QString type); - -private: - void createObserver(); - QString localeTypeString()const; - -private slots: - void onTypeChanged(); - - -private: - CEnvironmentChangeNotifier *mDateTimeNotifier; - - QString mClockType; - - Q_DISABLE_COPY(HsClockWidgetType) - - HOMESCREEN_TEST_FRIEND_CLASS(TestClockWidget) - -}; - -#endif