#include </home/clem/local/src/opie/libopie2/opiepim/core/opimaccessfactory.h>
Public Member Functions | |
| OPimAccessFactory () | |
Static Public Member Functions | |
| static T * | create (OPimGlobal::PimType type, OPimGlobal::DatabaseStyle dbStyle, const QString &appName, const QString &fileName=QString::null) |
| static T * | defaultAccess (typename OPimGlobal::PimType type, const QString &appName) |
Example for getting an access object for the XML database of todolist:
OPimTodoAccess* access = OPimAccessFactory<OPimTodoAccess>::create( OPimGlobal::TODOLIST, OPimGlobal::XML, "example" );
Definition at line 62 of file opimaccessfactory.h.
|
|||||||||
|
Definition at line 65 of file opimaccessfactory.h. |
|
||||||||||||||||||||||||
|
Returns the selected PIM access-object.
Definition at line 77 of file opimaccessfactory.h. References l, and QString::null. Referenced by Opie::OPimAccessFactory< T >::defaultAccess(). |
|
||||||||||||||||
|
Returns the selected PIM access-object, using the default database style Which style is selected is defined in the configfile "pimaccess.conf" in the directory "Settings"
Definition at line 112 of file opimaccessfactory.h. References Opie::OPimAccessFactory< T >::create(), and DEFAULT. |
1.4.2