--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/clock/ftudatetimewizard/inc/ftudatetimeview.h Fri Apr 16 14:57:40 2010 +0300
@@ -0,0 +1,89 @@
+/*
+ * Copyright (c) 2009 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: The view class for the FTU wizard plugin
+ *
+ */
+
+#ifndef FTUDATETIMEVIEW_H
+#define FTUDATETIMEVIEW_H
+
+// System includes
+#include <hbwidget.h>
+#include <hbview.h>
+#include <hbdialog.h>
+#include <qdatetime.h>
+#include "clockcityselectionlist.h"
+
+// Forward declarations.
+class HbDataForm;
+class HbDataFormModel;
+class HbDataFormModelItem;
+class HbDateTimePicker;
+class HbPushButton;
+class SettingsUtility;
+class QDate;
+class TimezoneClient;
+
+class FtuDateTimeView : public HbView
+{
+ Q_OBJECT
+
+public:
+ FtuDateTimeView();
+ ~FtuDateTimeView();
+ void constructView();
+ QDate getWizardCompletedDate();
+ void setAutomaticTimeUpdateOff(bool value);
+
+public slots:
+ void populateDatePicker();
+ void populateTimePicker();
+ void setAutoTimeupDate();
+ void populateCitySelectionList();
+
+private slots:
+ void updateDate();
+ void updateTime();
+ void HandleLocationChange(LocationInfo);
+
+private:
+ void createMainLayout();
+ void setItemDisplayed();
+ void populateDateTimeGroup();
+ void populatePlaceGroup();
+ void wizardEditedDate(const QDate &date);
+
+ HbDataForm* mDateTimePlaceForm;
+ HbDataFormModel* mDateTimePlaceModel;
+
+ HbDataFormModelItem *mDateItem;
+ HbDataFormModelItem *mTimeItem;
+ HbDataFormModelItem *mAutoTimeUpdateItem;
+ HbDataFormModelItem *mPlaceGroup;
+ HbDataFormModelItem *mCountryItem;
+ HbDataFormModelItem *mCityItem;
+
+ HbDateTimePicker* mDatePicker;
+ HbDateTimePicker* mTimePicker;
+ HbDialog* mDatetimepopup;
+ SettingsUtility *mSettingsUtility;
+
+ TimezoneClient *mTimeZoneClient;
+ ClockCitySelectionList* mCitySelectionList;
+ bool mTimeAutoUpdate;
+};
+
+#endif // FTUDATETIMEVIEW_H
+
+// End of file --Don't remove this.