qtmobility/src/contacts/requests/qcontactrequests_p.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
   103         return QContactAbstractRequest::ContactFetchRequest;
   103         return QContactAbstractRequest::ContactFetchRequest;
   104     }
   104     }
   105 
   105 
   106     QContactFilter m_filter;
   106     QContactFilter m_filter;
   107     QList<QContactSortOrder> m_sorting;
   107     QList<QContactSortOrder> m_sorting;
   108     QStringList m_definitionRestrictions;
   108     QContactFetchHint m_fetchHint;
   109 
   109 
   110     QList<QContact> m_contacts;
   110     QList<QContact> m_contacts;
   111 };
   111 };
   112 
   112 
   113 class QContactRemoveRequestPrivate : public QContactAbstractRequestPrivate
   113 class QContactRemoveRequestPrivate : public QContactAbstractRequestPrivate
   124 
   124 
   125     QContactAbstractRequest::RequestType type() const
   125     QContactAbstractRequest::RequestType type() const
   126     {
   126     {
   127         return QContactAbstractRequest::ContactRemoveRequest;
   127         return QContactAbstractRequest::ContactRemoveRequest;
   128     }
   128     }
   129 
       
   130     QContactFilter m_filter;    // deprecated, to be removed
       
   131 
   129 
   132     QList<QContactLocalId> m_contactIds;
   130     QList<QContactLocalId> m_contactIds;
   133     QMap<int, QContactManager::Error> m_errors;
   131     QMap<int, QContactManager::Error> m_errors;
   134 };
   132 };
   135 
   133 
   225 
   223 
   226 class QContactRelationshipFetchRequestPrivate : public QContactAbstractRequestPrivate
   224 class QContactRelationshipFetchRequestPrivate : public QContactAbstractRequestPrivate
   227 {
   225 {
   228 public:
   226 public:
   229     QContactRelationshipFetchRequestPrivate()
   227     QContactRelationshipFetchRequestPrivate()
   230         : QContactAbstractRequestPrivate(),
   228         : QContactAbstractRequestPrivate()
   231         m_role(QContactRelationshipFilter::Either) // deprecated
       
   232     {
   229     {
   233     }
   230     }
   234 
   231 
   235     ~QContactRelationshipFetchRequestPrivate()
   232     ~QContactRelationshipFetchRequestPrivate()
   236     {
   233     {
   246     QContactId m_second;
   243     QContactId m_second;
   247     QString m_relationshipType;
   244     QString m_relationshipType;
   248 
   245 
   249     // results
   246     // results
   250     QList<QContactRelationship> m_relationships;
   247     QList<QContactRelationship> m_relationships;
   251 
       
   252     QContactId m_participantUri; // deprecated
       
   253     QContactRelationshipFilter::Role m_role; // deprecated
       
   254 };
   248 };
   255 
   249 
   256 class QContactRelationshipSaveRequestPrivate : public QContactAbstractRequestPrivate
   250 class QContactRelationshipSaveRequestPrivate : public QContactAbstractRequestPrivate
   257 {
   251 {
   258 public:
   252 public:
   289     QContactAbstractRequest::RequestType type() const
   283     QContactAbstractRequest::RequestType type() const
   290     {
   284     {
   291         return QContactAbstractRequest::RelationshipRemoveRequest;
   285         return QContactAbstractRequest::RelationshipRemoveRequest;
   292     }
   286     }
   293 
   287 
   294     QContactId m_first;         // deprecated, to be removed
       
   295     QContactId m_second;        // deprecated, to be removed
       
   296     QString m_relationshipType; // deprecated, to be removed
       
   297 
       
   298     QList<QContactRelationship> m_relationships;
   288     QList<QContactRelationship> m_relationships;
   299     QMap<int, QContactManager::Error> m_errors;
   289     QMap<int, QContactManager::Error> m_errors;
   300 };
   290 };
   301 
   291 
   302 QTM_END_NAMESPACE
   292 QTM_END_NAMESPACE