contacts_plat/contacts_ui_api/inc/cntabstractview.h
changeset 81 640d30f4fb64
parent 61 d30183af6ca6
equal deleted inserted replaced
77:c18f9fa7f42e 81:640d30f4fb64
    32 public:
    32 public:
    33     /**
    33     /**
    34      * View is activated after its added to main window and is
    34      * View is activated after its added to main window and is
    35      * ready to be drawn.
    35      * ready to be drawn.
    36      */
    36      */
    37     virtual void activate( const CntViewParameters aArgs ) = 0;
    37     virtual void activate(const CntViewParameters aArgs) = 0;
       
    38     
       
    39     /**
       
    40      * View details are internalized from stream to view parameters.
       
    41      */
       
    42     virtual bool internalize(QDataStream &stream, CntViewParameters &viewParameters) 
       
    43     { 
       
    44         Q_UNUSED(stream); 
       
    45         Q_UNUSED(viewParameters);
       
    46         return false;  
       
    47     }
       
    48     
       
    49     /**
       
    50      * View is externalized parameters and return activity name.
       
    51      */
       
    52     virtual QString externalize(QDataStream &stream) 
       
    53     { 
       
    54         Q_UNUSED(stream); 
       
    55         return QString(); 
       
    56     }
    38     
    57     
    39     /**
    58     /**
    40      * View is deactivated just before its removed from
    59      * View is deactivated just before its removed from
    41      * main window.
    60      * main window.
    42      */
    61      */