emailuis/nmhswidget/inc/nmhswidgetdatetimeobserver.h
branchRCL_3
changeset 24 d189ee25cf9d
equal deleted inserted replaced
23:dcf0eedfc1a3 24:d189ee25cf9d
       
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef NMHSWIDGETDATETIMEOBSERVER_H
       
    19 #define NMHSWIDGETDATETIMEOBSERVER_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class NmHsWidgetDateTimeObserverPrivate;
       
    24 
       
    25 class NmHsWidgetDateTimeObserver : public QObject
       
    26 {
       
    27     Q_OBJECT
       
    28 
       
    29 public:
       
    30     explicit NmHsWidgetDateTimeObserver(QObject *parent = 0);
       
    31     virtual ~NmHsWidgetDateTimeObserver();
       
    32 
       
    33 signals:
       
    34     void dateTimeChanged();
       
    35     
       
    36 protected:
       
    37     void handleCompletion();
       
    38 
       
    39 private:
       
    40     Q_DISABLE_COPY(NmHsWidgetDateTimeObserver)
       
    41     friend class NmHsWidgetDateTimeObserverPrivate;
       
    42 
       
    43     NmHsWidgetDateTimeObserverPrivate *d_ptr;
       
    44 };
       
    45 
       
    46 #endif // NMHSWIDGETDATETIMEOBSERVER_H