qtmobility/src/contacts/engines/qcontactinvalidbackend.cpp
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
    57 QContactInvalidEngine::QContactInvalidEngine()
    57 QContactInvalidEngine::QContactInvalidEngine()
    58 {
    58 {
    59 }
    59 }
    60 
    60 
    61 /*! \reimp */
    61 /*! \reimp */
    62 void QContactInvalidEngine::deref()
       
    63 {
       
    64     delete this;
       
    65 }
       
    66 
       
    67 /*! \reimp */
       
    68 QString QContactInvalidEngine::managerName() const
    62 QString QContactInvalidEngine::managerName() const
    69 {
    63 {
    70     return QString(QLatin1String("invalid"));
    64     return QString(QLatin1String("invalid"));
    71 }
    65 }
    72 
    66 
    73 /*! \reimp */
       
    74 QString QContactInvalidEngine::synthesizedDisplayLabel(const QContact& contact, QContactManager::Error& error) const
       
    75 {
       
    76     Q_UNUSED(contact);
       
    77     error = QContactManager::NotSupportedError;
       
    78     return QString();
       
    79 }
       
    80 
       
    81 QTM_END_NAMESPACE
    67 QTM_END_NAMESPACE