logsui/logsapp/tsrc/ut_logsapp/logsengine_stub/logsevent.h
changeset 16 c5af8598d22c
parent 6 41c0a814d878
equal deleted inserted replaced
14:f27aebe284bb 16:c5af8598d22c
   103         /**
   103         /**
   104          * Get state of the event. Event state is updated
   104          * Get state of the event. Event state is updated
   105          * always at initialization phase. See initializeEventL.
   105          * always at initialization phase. See initializeEventL.
   106          */
   106          */
   107         LogsEventState eventState() const;
   107         LogsEventState eventState() const;
       
   108         
       
   109         bool isRemotePartyPrivate() const;
   108 
   110 
   109 		bool isRead() const;
   111 		bool isRead() const;
   110         
   112         
   111         void setIsRead(bool isRead);
   113         void setIsRead(bool isRead);
   112 		
   114 		
   158         
   160         
   159         /**
   161         /**
   160          * Set remote party name for the event.
   162          * Set remote party name for the event.
   161          */
   163          */
   162         void setRemoteParty( const QString& remoteParty );
   164         void setRemoteParty( const QString& remoteParty );
       
   165         
       
   166         /**
       
   167         * Set indication of result of searching matching 
       
   168         * contact from contacts
       
   169         */
       
   170         void setContactMatched( bool value );
       
   171                 
       
   172         /**
       
   173         * Get indication of result of searching matching 
       
   174         * contact from contacts
       
   175         */
       
   176         bool contactMatched();
   163         
   177         
   164         /**
   178         /**
   165          * Check if event is valid.
   179          * Check if event is valid.
   166          * @return true if valid, otherwise false
   180          * @return true if valid, otherwise false
   167          */
   181          */
   226 	    bool mIsALS;
   240 	    bool mIsALS;
   227 	    int mDuration;
   241 	    int mDuration;
   228 	    
   242 	    
   229 	    int mIndex;
   243 	    int mIndex;
   230 	    bool mIsInView;
   244 	    bool mIsInView;
       
   245 	    bool mContactMatched;
       
   246 	   bool mIsPrivate;
   231 	    LogsEventState mEventState;
   247 	    LogsEventState mEventState;
   232 	    
   248 	    
   233     private:
   249     private:
   234         
   250         
   235         friend class LogsEventParser;
   251         friend class LogsEventParser;
   249         friend class UT_LogsEventParser;
   265         friend class UT_LogsEventParser;
   250         friend class UT_LogsEventDataParser;
   266         friend class UT_LogsEventDataParser;
   251         friend class UT_LogsReaderStates;
   267         friend class UT_LogsReaderStates;
   252         friend class UT_LogsDetailsModel;
   268         friend class UT_LogsDetailsModel;
   253         friend class UT_LogsMessage;
   269         friend class UT_LogsMessage;
       
   270         friend class UT_LogsDetailsView;
   254     };
   271     };
   255 
   272 
   256 #endif      // LOGSEVENT_H
   273 #endif      // LOGSEVENT_H
   257 
   274 
   258 
   275