phonebookui/pbkcommonui/inc/cntdetaileditor.h
changeset 71 7cc7d74059f9
parent 65 ae724a111993
equal deleted inserted replaced
65:ae724a111993 71:7cc7d74059f9
    30 class HbMenu;
    30 class HbMenu;
    31 class HbView;
    31 class HbView;
    32 class HbAction;
    32 class HbAction;
    33 class CntEditorFactory;
    33 class CntEditorFactory;
    34 class CntSaveManager;
    34 class CntSaveManager;
       
    35 class HbShrinkingVkbHost;
    35 
    36 
    36 class CntDetailEditor : public QObject,
    37 class CntDetailEditor : public QObject,
    37                         public CntAbstractView
    38                         public CntAbstractView
    38     {
    39     {
    39     Q_OBJECT
    40     Q_OBJECT
    49     void handleItemShown(const QModelIndex& aIndex );
    50     void handleItemShown(const QModelIndex& aIndex );
    50     
    51     
    51     void saveContact();
    52     void saveContact();
    52     void contactDeletedFromOtherSource(const QList<QContactLocalId>& contactIds);
    53     void contactDeletedFromOtherSource(const QList<QContactLocalId>& contactIds);
    53     void showRootView();
    54     void showRootView();
       
    55     void handleKeypadOpen();
       
    56     void handleKeypadClosed();
    54     
    57     
    55 public:
    58 public:
    56     void setViewId( int aId );
    59     void setViewId( int aId );
    57     void setHeader( QString aHeader );
    60     void setHeader( QString aHeader );
    58     void setDetails( CntDetailEditorModel* aModel, HbAbstractViewItem* aPrototype );
    61     void setDetails( CntDetailEditorModel* aModel, HbAbstractViewItem* aPrototype );
    85     HbAction                       *mSoftkey;
    88     HbAction                       *mSoftkey;
    86     HbAction                       *mCancel;
    89     HbAction                       *mCancel;
    87     CntViewParameters               mArgs;
    90     CntViewParameters               mArgs;
    88     CntSaveManager                 *mSaveManager; // own
    91     CntSaveManager                 *mSaveManager; // own
    89     CntAbstractEngine*              mEngine; // not own
    92     CntAbstractEngine*              mEngine; // not own
       
    93     HbShrinkingVkbHost*             mVirtualKeyboard;
    90     friend class TestCntDetailEditor;
    94     friend class TestCntDetailEditor;
    91     };
    95     };
    92 #endif /* CNTDETAILEDITOR_H_ */
    96 #endif /* CNTDETAILEDITOR_H_ */