qtmobility/src/contacts/qcontactabstractrequest.h
changeset 5 453da2cfceef
parent 4 90517678cc4f
child 11 06b8e2af4411
equal deleted inserted replaced
4:90517678cc4f 5:453da2cfceef
    52 class Q_CONTACTS_EXPORT QContactAbstractRequest : public QObject
    52 class Q_CONTACTS_EXPORT QContactAbstractRequest : public QObject
    53 {
    53 {
    54     Q_OBJECT
    54     Q_OBJECT
    55 
    55 
    56 public:
    56 public:
    57     QContactAbstractRequest() {}
       
    58     ~QContactAbstractRequest();
    57     ~QContactAbstractRequest();
    59 
    58 
    60     enum State {
    59     enum State {
    61         InactiveState = 0,   // operation not yet started
    60         InactiveState = 0,   // operation not yet started
    62         ActiveState,         // operation started, not yet finished
    61         ActiveState,         // operation started, not yet finished
   102 Q_SIGNALS:
   101 Q_SIGNALS:
   103     void stateChanged(QContactAbstractRequest::State newState);
   102     void stateChanged(QContactAbstractRequest::State newState);
   104     void resultsAvailable();
   103     void resultsAvailable();
   105 
   104 
   106 protected:
   105 protected:
   107     QContactAbstractRequest(QContactAbstractRequestPrivate* otherd);
   106     QContactAbstractRequest(QContactAbstractRequestPrivate* otherd, QObject* parent = 0);
   108     QContactAbstractRequestPrivate* d_ptr;
   107     QContactAbstractRequestPrivate* d_ptr;
   109 
   108 
   110 private:
   109 private:
       
   110     QContactAbstractRequest(QObject* parent = 0) : QObject(parent), d_ptr(0) {}
   111     Q_DISABLE_COPY(QContactAbstractRequest)
   111     Q_DISABLE_COPY(QContactAbstractRequest)
   112     friend class QContactManagerEngine;
   112     friend class QContactManagerEngine;
   113 };
   113 };
   114 
   114 
   115 QTM_END_NAMESPACE
   115 QTM_END_NAMESPACE