summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-05-16 22:10:58 (UTC)
committer mickeyl <mickeyl>2004-05-16 22:10:58 (UTC)
commit1827ce23d0719a22c14613dc5859093818da1d0a (patch) (unidiff)
tree2c3363a6ae3e0e307a872ef176b8e06bf0b49595
parenta2ae46cf5a04a10042f84731a18a4471d633be59 (diff)
downloadopie-1827ce23d0719a22c14613dc5859093818da1d0a.zip
opie-1827ce23d0719a22c14613dc5859093818da1d0a.tar.gz
opie-1827ce23d0719a22c14613dc5859093818da1d0a.tar.bz2
make this compile with gcc 3.4
we want to stay gcc 3.4 compliant, so folks please update your compilers
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimaccessfactory.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libopie2/opiepim/core/opimaccessfactory.h b/libopie2/opiepim/core/opimaccessfactory.h
index eecfa96..283b6ab 100644
--- a/libopie2/opiepim/core/opimaccessfactory.h
+++ b/libopie2/opiepim/core/opimaccessfactory.h
@@ -54,13 +54,12 @@ namespace Opie {
54 * OPimTodoAccess* access = OPimAccessFactory<OPimTodoAccess>::create( OPimGlobal::TODOLIST, OPimGlobal::XML, "example" ); 54 * OPimTodoAccess* access = OPimAccessFactory<OPimTodoAccess>::create( OPimGlobal::TODOLIST, OPimGlobal::XML, "example" );
55 * </pre> 55 * </pre>
56 * 56 *
57 * @author Stefan Eilers 57 * @author Stefan Eilers
58 * @version 0.1 58 * @version 0.1
59 */ 59 */
60 */
61 60
62template<class T> 61template<class T>
63class OPimAccessFactory 62class OPimAccessFactory
64{ 63{
65 public: 64 public:
66 65
@@ -102,15 +101,15 @@ class OPimAccessFactory
102 * @param appName "Name" of your application. This should be any constant string which is used 101 * @param appName "Name" of your application. This should be any constant string which is used
103 * by some backends for creating special files (i.e.journal files). Please keep the 102 * by some backends for creating special files (i.e.journal files). Please keep the
104 * string unique for your application ! 103 * string unique for your application !
105 * @see OPimGlobal 104 * @see OPimGlobal
106 * 105 *
107 */ 106 */
108 static T* default( OPimGlobal::PimType type, const QString& appName ){ 107 static T* default( typename OPimGlobal::PimType type, const QString& appName ){
109 108
110 return create( type, OPimGlobal::DEFAULT, appName ) 109 return create( type, OPimGlobal::DEFAULT, appName );
111 110
112 } 111 }
113}; 112};
114 113
115} 114}
116 115