messagingapp/msgui/inc/msgbaseview.h
changeset 70 a15d9966050f
parent 52 12db4185673b
equal deleted inserted replaced
61:8ba0afbb4637 70:a15d9966050f
    32      * constructor.
    32      * constructor.
    33      */
    33      */
    34     MsgBaseView(QGraphicsItem* parent=0):HbView(parent){}
    34     MsgBaseView(QGraphicsItem* parent=0):HbView(parent){}
    35     
    35     
    36     /**
    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 
       
    47     /**
    37      * enum defining view id(s).
    48      * enum defining view id(s).
    38      */
    49      */
    39     enum viewId
    50     enum viewId
    40         {
    51         {
    41         DEFAULT = 0,
    52         DEFAULT = 0,
    43         CV,
    54         CV,
    44         DLV,
    55         DLV,
    45         UNIEDITOR,
    56         UNIEDITOR,
    46         UNIVIEWER,
    57         UNIVIEWER,
    47         MSGSETTINGS,
    58         MSGSETTINGS,
    48         SERVICE,
    59         SERVICE
    49         AUDIOFETCHER
       
    50         };
    60         };
    51     
    61     
    52     /**
    62     /**
    53      * enum definition for differentiating switchview to unieditor command further
    63      * enum definition for differentiating switchview to unieditor command further
    54      */
    64      */
    74     
    84     
    75     /**
    85     /**
    76      * Forceful close of conversation view
    86      * Forceful close of conversation view
    77      */
    87      */
    78     void closeOpenConversationView();
    88     void closeOpenConversationView();
    79 
       
    80 };
    89 };
    81 
    90 
    82 #endif //MSG_BASE_VIEW_H_
    91 #endif //MSG_BASE_VIEW_H_