[mythtv] [PATCH] View log entries in System Status (Update1)

Kevin Kuphal kuphal at dls.net
Fri Sep 3 09:32:24 EDT 2004


Chris Pinkham wrote:

>>The only issue I'm having now is that when I go to acknowledge an 
>>individual event, I need to know the logid from the database to do 
>>this.  Any suggestions on how I can store this in the QMap way.  I used 
>>to retain the direct query to the DB and walk it.  I already added a 
>>contentDetail map that holds the extra text information I display in the 
>>top bar.  I don't however see a really nice way to store that logid...
>>
>>Kevin
>>    
>>
>
>You could just store a map between the contentdetail row and the logid
>so your functions will know that if the user is acknowledging
>contentdetail row X that that maps to logid Y.  Doesn't have to be
>generic for every status list since each status list might have
>different things it would need to store or nothing at all.  You could
>just call the map "rowID" or something if you want to be generic.
>I could potentially utilize a popup like you have for the Job Queue
>status as well.  Users could cancel a job or other possible actions
>based upon the jobqueue.id so in this case I could reuse the same
>map for my jobqueue.id values.
>  
>
That's what I was thinking of.  I just didn't know if there was maybe 
some kind of multidimensional QMap type object available to store say 
two strings and an int in one record easily.

Kevin



More information about the mythtv-dev mailing list