emailuis/nmhswidget/src/nmhswidgetdatetimeobserver.cpp
changeset 43 99bcbff212ad
parent 23 2dc6caa42ec3
equal deleted inserted replaced
42:139d4b7b2938 43:99bcbff212ad
    13 *
    13 *
    14 * Description: 
    14 * Description: 
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 #include <QDebug>
    18 #include "emailtrace.h"
    19 #include "nmhswidgetdatetimeobserver.h"
    19 #include "nmhswidgetdatetimeobserver.h"
    20 #include "nmhswidgetdatetimeobserver_p.h"
    20 #include "nmhswidgetdatetimeobserver_p.h"
    21 
    21 
    22 /*!
    22 /*!
    23     \fn NmHsWidgetDateTimeObserver::NmHsWidgetDateTimeObserver(QObject *parent)
    23     \fn NmHsWidgetDateTimeObserver::NmHsWidgetDateTimeObserver(QObject *parent)
    26 */
    26 */
    27 NmHsWidgetDateTimeObserver::NmHsWidgetDateTimeObserver(QObject *parent) :
    27 NmHsWidgetDateTimeObserver::NmHsWidgetDateTimeObserver(QObject *parent) :
    28     QObject(parent),
    28     QObject(parent),
    29     d_ptr(0)
    29     d_ptr(0)
    30 {
    30 {
    31     qDebug() << "NmHsWidgetDateTimeObserver::NmHsWidgetDateTimeObserver --> IN";
    31     NM_FUNCTION;
    32     d_ptr = new NmHsWidgetDateTimeObserverPrivate(this);
    32     d_ptr = new NmHsWidgetDateTimeObserverPrivate(this);
    33     qDebug() << "NmHsWidgetDateTimeObserver::NmHsWidgetDateTimeObserver <-- OUT";
       
    34 }
    33 }
    35 
    34 
    36 /*!
    35 /*!
    37     \fn NmHsWidgetDateTimeObserver::~NmHsWidgetDateTimeObserver()
    36     \fn NmHsWidgetDateTimeObserver::~NmHsWidgetDateTimeObserver()
    38 
    37 
    39     /post Private observer is destroyed
    38     /post Private observer is destroyed
    40 */
    39 */
    41 NmHsWidgetDateTimeObserver::~NmHsWidgetDateTimeObserver()
    40 NmHsWidgetDateTimeObserver::~NmHsWidgetDateTimeObserver()
    42 {
    41 {
    43     qDebug() << "NmHsWidgetDateTimeObserver::~NmHsWidgetDateTimeObserver --> IN";
    42     NM_FUNCTION;
    44     delete d_ptr;
    43     delete d_ptr;
    45     qDebug() << "NmHsWidgetDateTimeObserver::~NmHsWidgetDateTimeObserver <-- OUT";
       
    46 }
    44 }
    47 
    45 
    48 /*!
    46 /*!
    49     \fn void NmHsWidgetDateTimeObserver::handleCompletion()
    47     \fn void NmHsWidgetDateTimeObserver::handleCompletion()
    50 
    48 
    51     /post Valid change event received by private observer and DateTimeChange signal is emitted
    49     /post Valid change event received by private observer and DateTimeChange signal is emitted
    52 */
    50 */
    53 void NmHsWidgetDateTimeObserver::handleCompletion()
    51 void NmHsWidgetDateTimeObserver::handleCompletion()
    54 {
    52 {
    55     qDebug() << "NmHsWidgetDateTimeObserver::handleCompletion --> IN";
    53     NM_FUNCTION;
    56     emit dateTimeChanged();
    54     emit dateTimeChanged();
    57     qDebug() << "NmHsWidgetDateTimeObserver::handleCompletion <-- OUT";
       
    58 }
    55 }