author | zecke <zecke> | 2004-05-21 00:59:53 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-05-21 00:59:53 (UTC) |
commit | e20a6a2d3be99bdeaf3861f3aed7923e04b7ba04 (patch) (unidiff) | |
tree | 11c8ea83e4a409ca3ea931ac0315f2f2413ac8d8 | |
parent | cc30786a9fa612bb6ad0d19d6564f7e432267f7a (diff) | |
download | opie-e20a6a2d3be99bdeaf3861f3aed7923e04b7ba04.zip opie-e20a6a2d3be99bdeaf3861f3aed7923e04b7ba04.tar.gz opie-e20a6a2d3be99bdeaf3861f3aed7923e04b7ba04.tar.bz2 |
Fix comment
s/plugins/template
-rw-r--r-- | libopie2/opiepim/core/opimaccesstemplate.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libopie2/opiepim/core/opimaccesstemplate.h b/libopie2/opiepim/core/opimaccesstemplate.h index d4c5fbb..e438980 100644 --- a/libopie2/opiepim/core/opimaccesstemplate.h +++ b/libopie2/opiepim/core/opimaccesstemplate.h | |||
@@ -47,9 +47,9 @@ class OPimAccessTemplatePrivate; | |||
47 | * Library. Either you want to use it's | 47 | * Library. Either you want to use it's |
48 | * interface or you want to implement | 48 | * interface or you want to implement |
49 | * your own Access lib | 49 | * your own Access lib |
50 | * Just create a OPimRecord and inherit from | 50 | * Just create a OPimRecord and inherit from |
51 | * the plugins | 51 | * the templates |
52 | */ | 52 | */ |
53 | 53 | ||
54 | template <class T = OPimRecord > | 54 | template <class T = OPimRecord > |
55 | class OPimAccessTemplate : public OTemplateBase<T> { | 55 | class OPimAccessTemplate : public OTemplateBase<T> { |
@@ -100,14 +100,14 @@ public: | |||
100 | * return a List of records | 100 | * return a List of records |
101 | * you can iterate over them | 101 | * you can iterate over them |
102 | */ | 102 | */ |
103 | virtual List allRecords()const; | 103 | virtual List allRecords()const; |
104 | 104 | ||
105 | /** | 105 | /** |
106 | * return a List of records | 106 | * return a List of records |
107 | * that match the regex | 107 | * that match the regex |
108 | */ | 108 | */ |
109 | virtual List matchRegexp( const QRegExp &r ) const; | 109 | virtual List matchRegexp( const QRegExp &r ) const; |
110 | 110 | ||
111 | /** | 111 | /** |
112 | * queryByExample. | 112 | * queryByExample. |
113 | * @see otodoaccess, ocontactaccess | 113 | * @see otodoaccess, ocontactaccess |
@@ -137,12 +137,12 @@ public: | |||
137 | * @return <i>true</i> if added successfully. | 137 | * @return <i>true</i> if added successfully. |
138 | */ | 138 | */ |
139 | virtual bool add( const T& t ) ; | 139 | virtual bool add( const T& t ) ; |
140 | bool add( const OPimRecord& ); | 140 | bool add( const OPimRecord& ); |
141 | // Needed for real generic access (eilers) | 141 | // Needed for real generic access (eilers) |
142 | // Info: Take this if you are working with OPimRecord, which is a generic base class, and | 142 | // Info: Take this if you are working with OPimRecord, which is a generic base class, and |
143 | // you need to add it into any database, you cannot generate a reference to | 143 | // you need to add it into any database, you cannot generate a reference to |
144 | // it and casting may be not approriate, too. | 144 | // it and casting may be not approriate, too. |
145 | // But take care that the accessing database is compatible to the real type of OPimRecord !! | 145 | // But take care that the accessing database is compatible to the real type of OPimRecord !! |
146 | bool add( const OPimRecord* ); | 146 | bool add( const OPimRecord* ); |
147 | 147 | ||
148 | 148 | ||