author | eilers <eilers> | 2004-05-20 16:08:40 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-05-20 16:08:40 (UTC) |
commit | b9a91a24c28a1d12fddd6a5a6d3162c303d3da2f (patch) (side-by-side diff) | |
tree | 60193edb7522478dab74045064e4438b606fe715 /libopie2/opiepim/core | |
parent | 190df1c5ca54fac9d4819ddca661da753139c191 (diff) | |
download | opie-b9a91a24c28a1d12fddd6a5a6d3162c303d3da2f.zip opie-b9a91a24c28a1d12fddd6a5a6d3162c303d3da2f.tar.gz opie-b9a91a24c28a1d12fddd6a5a6d3162c303d3da2f.tar.bz2 |
Changing OPimAccessFactory::Default to defaultAccess
Changing OBackendFactory::Default to defaultBackend
I hope this fixes all problems with reserved words.. Sorry for any
inconveniences..
-rw-r--r-- | libopie2/opiepim/core/ocontactaccess.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiepim/core/odatebookaccess.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiepim/core/opimaccessfactory.h | 2 | ||||
-rw-r--r-- | libopie2/opiepim/core/otodoaccess.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/libopie2/opiepim/core/ocontactaccess.cpp b/libopie2/opiepim/core/ocontactaccess.cpp index 67f267f..417a954 100644 --- a/libopie2/opiepim/core/ocontactaccess.cpp +++ b/libopie2/opiepim/core/ocontactaccess.cpp @@ -67,3 +67,3 @@ OPimContactAccess::OPimContactAccess ( const QString appname, const QString , qWarning ("Using BackendFactory !"); - end = OBackendFactory<OPimContactAccessBackend>::Default( "contact", appname ); + end = OBackendFactory<OPimContactAccessBackend>::defaultBackend( "contact", appname ); } diff --git a/libopie2/opiepim/core/odatebookaccess.cpp b/libopie2/opiepim/core/odatebookaccess.cpp index 29298ea..5f471cf 100644 --- a/libopie2/opiepim/core/odatebookaccess.cpp +++ b/libopie2/opiepim/core/odatebookaccess.cpp @@ -44,3 +44,3 @@ ODateBookAccess::ODateBookAccess( ODateBookAccessBackend* back, enum Access ac ) if (!back ) - back = OBackendFactory<ODateBookAccessBackend>::Default("datebook", QString::null ); + back = OBackendFactory<ODateBookAccessBackend>::defaultBackend("datebook", QString::null ); diff --git a/libopie2/opiepim/core/opimaccessfactory.h b/libopie2/opiepim/core/opimaccessfactory.h index 7d32958..6aaa5e4 100644 --- a/libopie2/opiepim/core/opimaccessfactory.h +++ b/libopie2/opiepim/core/opimaccessfactory.h @@ -106,3 +106,3 @@ class OPimAccessFactory */ - static T* Default( typename OPimGlobal::PimType type, const QString& appName ){ + static T* defaultAccess( typename OPimGlobal::PimType type, const QString& appName ){ diff --git a/libopie2/opiepim/core/otodoaccess.cpp b/libopie2/opiepim/core/otodoaccess.cpp index 6fa0089..87a211f 100644 --- a/libopie2/opiepim/core/otodoaccess.cpp +++ b/libopie2/opiepim/core/otodoaccess.cpp @@ -46,3 +46,3 @@ OPimTodoAccess::OPimTodoAccess( OPimTodoAccessBackend* end, enum Access ) if (end == 0l ) - m_todoBackEnd = OBackendFactory<OPimTodoAccessBackend>::Default ("todo", QString::null); + m_todoBackEnd = OBackendFactory<OPimTodoAccessBackend>::defaultBackend ("todo", QString::null); |