[Kde-pim] Akonadi design questions

Christian Schaarschmidt schaarsc at gmx.de
Wed May 30 22:52:10 BST 2007


Hi,

I have put toghether yet another overview for akonadi I had planed to attach.  
Unfortunately umbrello will no longer display the diagram and the .png is to 
big as attachment. Does anyone have an idea how I could convince umbrello to 
display it again?

Now to the akonadi questions ...

there are some aspect I still don't understand, I hope someone on the list can 
help providing answers to these questions: 

- What is the idea behind SearchProvider?
MessageSearchProvider does listen to notifications and updates the meta data 
accordingly. I guess this is not in eg. AppenJob to avoid code replication?

- how to search for messages? only Nepomuk?
SearchProvider does not provide message specific searches, 
findMessageBySubject or something like that.

-Table PersistentSearches missing
where is PersistentSearch used?

- is PersistentSearch::uids correct?
SearchProvider does not have member queryForUids( well, I couldn't find it)
QList<QByteArray> PersistentSearch::uids( const DataStore *store ) const
{
  return mProvider->queryForUids( mQuery, store );
}

- reason for not having Q_CLASSINFO
in control/SearchProviderManger, control/ProfileManger
control/AgentManager does have it.

- QCoreApplication in SearchProvider main() vs. KApplication in Resource 
main()

- purpose of AkonadiSlave::get(const KUrl & url)?
calls ItemSerializer::serialize( item, "RFC822", tmp );
what if item is an addressee?

finaly some suggestions, are there arguments against? ?:
- listener port in the config
- provide switch to stop akonadi_control

Regards
Christian
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/



More information about the kde-pim mailing list