deloptes wrote:
Hi again, perhaps you can help me understand few things
- I want to know how the resources are working (for now I'm focused on
the calendar) and how I can get all resources. I think same logic applies to the address book.
I think I understood this - however documentation was not really helpful
This was of some help, but finally got to look in all the related header files to get it right
http://api.kde.org/4.8-api/kdepimlibs-apidocs/kresources/html/classKRES_1_1M...
KCal::CalendarResourceManager * mgr = calendar->resourceManager(); for (KRES::ManagerKCal::ResourceCalendar::Iterator i = mgr->begin(); i != mgr->end(); i++) { debug() << "SUB RES ID :" << ( *i )->identifier() << "\n"; debug() << "SUB RES DESC:" << ( *i )->infoText( ) << "\n"; }
I think however I'll use the "Active" version and give the user the ability to influence all of that with enable / disable.
Thank for the support and patience (with irony)
regards