phonebookui/phonebookservices/inc/cntserviceeditview.h
changeset 59 a642906a277a
parent 47 7cbcb2896f0e
equal deleted inserted replaced
47:7cbcb2896f0e 59:a642906a277a
    18 #ifndef CNTSERVICEEDITVIEW_H
    18 #ifndef CNTSERVICEEDITVIEW_H
    19 #define CNTSERVICEEDITVIEW_H
    19 #define CNTSERVICEEDITVIEW_H
    20 
    20 
    21 #include <QObject>
    21 #include <QObject>
    22 #include "cnteditview.h"
    22 #include "cnteditview.h"
       
    23 #include "cntabstractserviceprovider.h"
    23 
    24 
    24 class CntServiceHandler;
    25 class CntServiceHandler;
    25 
    26 
    26 class CntServiceEditView : public CntEditView
    27 class CntServiceEditView : public CntEditView
    27 {
    28 {
    28 
    29 
    29 Q_OBJECT
    30 Q_OBJECT
    30 
    31 
    31 public:
    32 public:
    32 
    33 
    33     CntServiceEditView(CntServiceHandler *aServiceHandler );
    34     CntServiceEditView( CntAbstractServiceProvider& aServiceProvider );
    34     ~CntServiceEditView();
    35     ~CntServiceEditView();
    35 
    36 
    36     int viewId() const { return serviceEditView; }
    37     int viewId() const { return serviceEditView; }
    37 
    38 
    38 private slots:
    39 private slots:
    39     void doContactUpdated(int aSuccess);
    40     void doContactUpdated(int aSuccess);
    40     void doContactRemoved(bool aSuccess);
    41     void doContactRemoved(bool aSuccess);
    41     void doChangesDiscarded();
    42     void doChangesDiscarded();
    42 
    43 
    43 private:
    44 private:
    44     CntServiceHandler *mServiceHandler;
    45     CntAbstractServiceProvider& mProvider;
    45     
    46     
    46 };
    47 };
    47 
    48 
    48 #endif //CNTSERVICEEDITVIEW_H
    49 #endif //CNTSERVICEEDITVIEW_H
    49 // EOF
    50 // EOF