phonebookui/pbkcommonui/inc/cnthistoryview.h
changeset 61 d30183af6ca6
parent 53 e6aff7b69165
equal deleted inserted replaced
56:d508aa856878 61:d30183af6ca6
    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