Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/mymoneytransactionfilter.h
Show First 20 Lines • Show All 281 Lines • ▼ Show 20 Line(s) | 274 | /** | |||
---|---|---|---|---|---|
282 | * | 282 | * | ||
283 | * @note @p from and @p to can contain alphanumeric text | 283 | * @note @p from and @p to can contain alphanumeric text | ||
284 | */ | 284 | */ | ||
285 | void setNumberFilter(const QString& from, const QString& to); | 285 | void setNumberFilter(const QString& from, const QString& to); | ||
286 | 286 | | |||
287 | /** | 287 | /** | ||
288 | * This method is used to check a specific transaction against the filter. | 288 | * This method is used to check a specific transaction against the filter. | ||
289 | * The transaction will match the whole filter, if all specified filters | 289 | * The transaction will match the whole filter, if all specified filters | ||
290 | * match. If the filter is cleared using the clear() method, any transaciton | 290 | * match. If the filter is cleared using the clear() method, any transaction | ||
291 | * matches. | 291 | * matches. Matching splits from the transaction are returned by @ref | ||
292 | * matchingSplits(). | ||||
292 | * | 293 | * | ||
293 | * @param transaction A transaction | 294 | * @param transaction A transaction | ||
294 | * | 295 | * | ||
295 | * @retval true The transaction matches the filter set | 296 | * @retval true The transaction matches the filter set | ||
296 | * @retval false The transaction does not match at least one of | 297 | * @retval false The transaction does not match at least one of | ||
297 | * the filters in the filter set | 298 | * the filters in the filter set | ||
298 | */ | 299 | */ | ||
299 | bool match(const MyMoneyTransaction& transaction); | 300 | bool match(const MyMoneyTransaction& transaction); | ||
▲ Show 20 Lines • Show All 319 Lines • Show Last 20 Lines |