messagingapp/msgui/inc/msgbaseview.h
changeset 62 fdbe8253b596
parent 56 f42d9a78f435
equal deleted inserted replaced
59:fcb676ca077d 62:fdbe8253b596
    31     /**
    31     /**
    32      * constructor.
    32      * constructor.
    33      */
    33      */
    34     MsgBaseView(QGraphicsItem* parent=0):HbView(parent){}
    34     MsgBaseView(QGraphicsItem* parent=0):HbView(parent){}
    35     
    35     
       
    36     /**
       
    37      * Handler for HW key events.
       
    38      * @param key Key code.
       
    39      * @return true if key event handled else false.
       
    40      */
       
    41     virtual bool handleKeyEvent(int key)
       
    42     {
       
    43         Q_UNUSED(key)
       
    44         return false;
       
    45     }
       
    46 
    36     /**
    47     /**
    37      * enum defining view id(s).
    48      * enum defining view id(s).
    38      */
    49      */
    39     enum viewId
    50     enum viewId
    40         {
    51         {
    73     
    84     
    74     /**
    85     /**
    75      * Forceful close of conversation view
    86      * Forceful close of conversation view
    76      */
    87      */
    77     void closeOpenConversationView();
    88     void closeOpenConversationView();
    78 
       
    79 };
    89 };
    80 
    90 
    81 #endif //MSG_BASE_VIEW_H_
    91 #endif //MSG_BASE_VIEW_H_