OPimResolver Class Reference
OPimResolver is a MetaClass to access available backends read only. More...
#include <opimresolver.h>
Collaboration diagram for OPimResolver:

Public Types | |
| enum | BuiltIn { TodoList = 0, DateBook, AddressBook } |
Public Member Functions | |
| OPimRecord * | record (const QString &service, int uid) |
| return a record for a uid and an service You've THE OWNERSHIP NOW! | |
| QCString | qcopChannel (enum BuiltIn &) const |
| return the QCopChannel for service When we will use Qtopia Services it will be used here | |
| QCString | qcopChannel (const QString &service) const |
| QCString | applicationChannel (enum BuiltIn &) const |
| The Application channel (QPE/Application/name). | |
| QCString | applicationChannel (const QString &service) const |
| QStringList | services () const |
| return a list of available services | |
| QString | serviceName (int rrti) const |
| int | serviceId (const QString &Service) |
| bool | add (const QString &service, const OPimRecord &) |
| add a record to a service... | |
| OPimRecord * | record (const QString &service) |
| record returns an empty record for a given service. | |
| OPimRecord * | record (int rtti) |
| OPimBase * | backend (const QString &service) |
| you can cast to your | |
| OPimBase * | backend (int rtti) |
Static Public Member Functions | |
| OPimResolver * | self () |
Detailed Description
OPimResolver is a MetaClass to access available backends read only.It will be used to resolve uids + app names to full informations to traverse through a list of alarms, reminders to get access to built in PIM functionality and to more stuff THE PERFORMANCE will depend on THE BACKEND USING XML is a waste of memory!!!!!
Definition at line 20 of file opimresolver.h.
Member Enumeration Documentation
|
|
Definition at line 22 of file opimresolver.h. |
Member Function Documentation
|
|
Definition at line 17 of file opimresolver.cpp. |
|
||||||||||||
|
return a record for a uid and an service You've THE OWNERSHIP NOW!
Definition at line 27 of file opimresolver.cpp. References backend(), and OPimBase::record(). Referenced by record(). |
|
|
return the QCopChannel for service When we will use Qtopia Services it will be used here
Definition at line 61 of file opimresolver.cpp. |
|
|
Definition at line 79 of file opimresolver.cpp. |
|
|
The Application channel (QPE/Application/name).
Definition at line 88 of file opimresolver.cpp. Referenced by add(). |
|
|
Definition at line 104 of file opimresolver.cpp. |
|
|
return a list of available services
Definition at line 119 of file opimresolver.cpp. |
|
|
Definition at line 122 of file opimresolver.cpp. References AddressBook, DateBook, and TodoList. |
|
|
Definition at line 140 of file opimresolver.cpp. References AddressBook, DateBook, and TodoList. |
|
||||||||||||
|
add a record to a service... ;) Definition at line 154 of file opimresolver.cpp. References OPimBase::add(), applicationChannel(), backend(), QCopChannel::isRegistered(), OPimBase::load(), OPimRecord::rtti(), OPimBase::save(), and OPimRecord::saveToStream(). |
|
|
record returns an empty record for a given service. Be sure to delete it!!! Definition at line 37 of file opimresolver.cpp. References record(), and serviceId(). |
|
|
Definition at line 40 of file opimresolver.cpp. |
|
|
you can cast to your
Definition at line 176 of file opimresolver.cpp. References serviceId(). |
|
|
Definition at line 179 of file opimresolver.cpp. References AddressBook, DateBook, and TodoList. |
The documentation for this class was generated from the following files:
