phoneapp/phoneuiqtviewadapter/src/phoneglobalnotes.cpp
changeset 78 baacf668fe89
parent 76 cfea66083b62
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
    27 
    27 
    28 #include <restricted/hbdevicedialogsextensionsymbian_r.h>
    28 #include <restricted/hbdevicedialogsextensionsymbian_r.h>
    29 
    29 
    30 const TInt KCriticalLevel = 2;
    30 const TInt KCriticalLevel = 2;
    31 
    31 
    32 PhoneGlobalNotes::PhoneGlobalNotes(QObject *parent) : 
    32 PhoneGlobalNotes::PhoneGlobalNotes(XQSystemToneService& toneservice,
    33     QObject(parent),
    33                                    QObject *parent) : 
       
    34     QObject(parent),                                   
    34     m_timer(0),
    35     m_timer(0),
    35     m_toneService(0),
    36     m_toneService(&toneservice),    
    36     m_queryCanceledCommand(-1),
    37     m_queryCanceledCommand(-1),
    37     m_timeoutCommand(-1),
    38     m_timeoutCommand(-1),
    38     iProgressDialog(0)
    39     iProgressDialog(0)
    39 {
    40     
    40     PHONE_TRACE
    41 {
    41     m_toneService = new XQSystemToneService(this);
    42     PHONE_TRACE
    42 
    43 
    43     m_timer = new QTimer(this);
    44     m_timer = new QTimer(this);
    44     m_timer->setSingleShot(true);
    45     m_timer->setSingleShot(true);
    45     connect(m_timer, SIGNAL(timeout()), SLOT(queryTimeout()));
    46     connect(m_timer, SIGNAL(timeout()), SLOT(queryTimeout()));
    46 }
    47 }