Active Topics

 


Reply
Thread Tools
Posts: 1 | Thanked: 0 times | Joined on Dec 2010
#1
I want to use Qt to write an app on my N900, which delete the latest call log. I do it by following code:

QSqlDatabase m_db = QSqlDatabase::addDatabase( "QSQLITE" );
QSqlQuery * m_dbq = new QSqlQuery( m_db );
QString s = QString("delete from Events where start_time in (select start_time from Events order by start_time desc limit 1)");
if (m_dbq->exec( s ))
...;

and I am sure the latest call log has been deleted in the eventlogger database.

but then , I find a problem that the latest call log still display at the rtcom-call-ui though I aleady has deleted it.
how can i update the recom-call-ui view when eventlogger database has been changed?

this app develop by Nokia Qt SDK, with Qt Creator on windows xp, so i cann't use recom-eventlogger api.

Any idea is welcome, thank you in advance.
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:44.