equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: Calendar widget datetime observer |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "datetimeobserver.h" |
|
19 #include "datetimeobserver_p.h" |
|
20 #include "calendarwidgetdebug.h" |
|
21 |
|
22 DateTimeObserver::DateTimeObserver(QObject *parent) : |
|
23 QObject(parent), |
|
24 d_ptr(0) |
|
25 { |
|
26 LOGS("DateTimeObserver::DateTimeObserver"); |
|
27 d_ptr = new DateTimeObserverPrivate(this); |
|
28 } |
|
29 |
|
30 DateTimeObserver::~DateTimeObserver() |
|
31 { |
|
32 LOGS("DateTimeObserver::~DateTimeObserver"); |
|
33 delete d_ptr; |
|
34 } |
|
35 |
|
36 void DateTimeObserver::handleCompletion() |
|
37 { |
|
38 LOGS("DateTimeObserver::handleCompletion"); |
|
39 emit completed(); |
|
40 } |