phonebookui/phonebookservices/inc/cntserviceviewmanager.h
changeset 50 77bc263e1626
parent 46 efe85016a067
child 53 e6aff7b69165
equal deleted inserted replaced
49:74b30151afd6 50:77bc263e1626
    24 #include <QObject>
    24 #include <QObject>
    25 #include <hbmainwindow.h>
    25 #include <hbmainwindow.h>
    26 
    26 
    27 class CntBaseView;
    27 class CntBaseView;
    28 class CntServiceHandler;
    28 class CntServiceHandler;
       
    29 class CntAbstractServiceProvider;
    29 
    30 
    30 class CntServiceViewManager : public CntDefaultViewManager
    31 class CntServiceViewManager : public CntDefaultViewManager
    31 {
    32 {
    32     Q_OBJECT
    33     Q_OBJECT
    33 
    34 
    34 public:
    35 public:
    35     CntServiceViewManager(HbMainWindow *mainWindow, CntServiceHandler *aHandler);
    36     CntServiceViewManager(HbMainWindow *mainWindow, CntAbstractServiceProvider& aProvider );
    36     ~CntServiceViewManager();
    37     ~CntServiceViewManager();
    37     
       
    38 public slots:
       
    39     void handleFetch(const QString &title, const QString &action, const QString &filter);
       
    40     void launchFetch(const QString &title, const QString &action, const QString &filter, const QString &mode = KCntMultiSelectionMode);
       
    41     void launchEditor(QContact contact);
       
    42     void launchContactSelection(QContactDetail detail);
       
    43     void launchContactCard(QContact contact);
       
    44     void launchAssignContactCard(QContact contact, QContactDetail detail);
       
    45 
       
    46 protected slots:
    38 protected slots:
    47     virtual void closeApp();
    39     virtual void closeApp();
    48 
       
    49 private:
       
    50     CntServiceHandler *mServiceHandler;
       
    51 };
    40 };
    52 
    41 
    53 #endif // CNTSERVICEVIEWMANAGER_H
    42 #endif // CNTSERVICEVIEWMANAGER_H