phonebookui/pbkcommonui/inc/cnthistoryview.h
changeset 65 ae724a111993
parent 59 a642906a277a
equal deleted inserted replaced
59:a642906a277a 65:ae724a111993
    41     Q_OBJECT
    41     Q_OBJECT
    42     
    42     
    43 public: // From CntAbstractView
    43 public: // From CntAbstractView
    44     CntHistoryView();
    44     CntHistoryView();
    45     ~CntHistoryView();
    45     ~CntHistoryView();
    46     void activate( CntAbstractViewManager* aMgr, const CntViewParameters aArgs );
    46     void activate( const CntViewParameters aArgs );
    47     void deactivate();
    47     void deactivate();
    48     bool isDefault() const{ return false; }
    48     bool isDefault() const{ return false; }
    49     HbView* view() const { return mView; }
    49     HbView* view() const { return mView; }
    50     int viewId() const { return historyView; }
    50     int viewId() const { return historyView; }
    51 
    51     inline void setEngine( CntAbstractEngine& aEngine ){ mEngine = &aEngine; }
       
    52     
    52 public slots:
    53 public slots:
    53     void updateScrollingPosition();
    54     void updateScrollingPosition();
    54     void clearHistory();
    55     void clearHistory();
    55     void handleClearHistory(int action);
    56     void handleClearHistory(int action);
    56     void itemActivated(const QModelIndex &index);
    57     void itemActivated(const QModelIndex &index);
    77     HbAction*                   mBackKey; // not own
    78     HbAction*                   mBackKey; // not own
    78     QContact*                   mContact; // own
    79     QContact*                   mContact; // own
    79     HbAction*                   mClearHistory;  // not own
    80     HbAction*                   mClearHistory;  // not own
    80     CntViewParameters           mArgs;
    81     CntViewParameters           mArgs;
    81     XQAiwRequest*               mRequest;    
    82     XQAiwRequest*               mRequest;    
       
    83     CntAbstractEngine*          mEngine;
    82 };
    84 };
    83 
    85 
    84 #endif // CNTHISTORYVIEW_H
    86 #endif // CNTHISTORYVIEW_H
    85 
    87 
    86 // EOF
    88 // EOF