[Kmymoney-devel] [Bug 249005] A button which removes all currently unused payees

Thomas Baumgart ipwizard at users.sourceforge.net
Thu Aug 26 08:44:52 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=249005





--- Comment #2 from Thomas Baumgart <ipwizard users sourceforge net>  2010-08-26 08:44:51 ---
Hmm, it's not only the transactions. The reference is also in scheduled
transactions and reports (maybe elsewhere).

One could get the list of all payees and then iterate over it while using the
return code of

  MyMoneyFile::instance()->isReferenced(payee)

to check if it is still in use or not.
http://kmymoney2.sourceforge.net/kmymoney2-api/html/classMyMoneyFile.html#422700dc3c2bf3df54819ee32c968f9a
has the details.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list