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

Chris Pinkham cpinkham at bc2va.org
Fri Sep 3 01:54:53 EDT 2004


> 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.

-- 

Chris



More information about the mythtv-dev mailing list