equal
deleted
inserted
replaced
107 * |
107 * |
108 * @param entryIdList list of input ids. |
108 * @param entryIdList list of input ids. |
109 * @param sourceList List of results. |
109 * @param sourceList List of results. |
110 * @return error code |
110 * @return error code |
111 */ |
111 */ |
112 ErrorCode getData(const QList<int>& entryIdList, QList<CaEntry *>& sourceList); |
112 ErrorCode getData(const QList<int>& entryIdList, QList< QSharedPointer<CaEntry> >& sourceList); |
113 |
113 |
114 /** |
114 /** |
115 * Method for fetching entries. |
115 * Method for fetching entries. |
116 * |
116 * |
117 * @param query query. |
117 * @param query query. |
118 * @param sourceList List of results. |
118 * @param sourceList List of results. |
119 * @return error code |
119 * @return error code |
120 */ |
120 */ |
121 ErrorCode getData(const CaQuery &query, QList<CaEntry *>& sourceList); |
121 ErrorCode getData(const CaQuery &query, QList< QSharedPointer<CaEntry> >& sourceList); |
122 |
122 |
123 /** |
123 /** |
124 * Method for fetching entries. |
124 * Method for fetching entries. |
125 * |
125 * |
126 * @param query query. |
126 * @param query query. |
176 bool setAttributesInDb(CaEntry *entryClone) const; |
176 bool setAttributesInDb(CaEntry *entryClone) const; |
177 void CreateGetParentsIdsQuery( |
177 void CreateGetParentsIdsQuery( |
178 const QList<int> &entryIds, |
178 const QList<int> &entryIds, |
179 const QList<int> &parentIds, |
179 const QList<int> &parentIds, |
180 QString &query); |
180 QString &query); |
|
181 int getEntryIdByUid(const CaEntry &entry, const int uid); |
181 |
182 |
182 private: |
183 private: |
183 QString mWidgetRegistryPath; |
184 QString mWidgetRegistryPath; |
184 }; |
185 }; |
185 |
186 |