[Kmymoney-devel] Review Request: Introduce new member function MyMoneyFile::countNotReconciledTransactions(const QString& accId)

Marko Käning mk-lists at email.de
Fri Jan 4 21:59:27 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108150/#review24711
-----------------------------------------------------------


A question to the devs!


kmymoney/mymoney/mymoneyfile.cpp
<http://git.reviewboard.kde.org/r/108150/#comment18972>

    Is it actually possible to call addState() a 2nd time on a filter?
    
    I suspect if it were it would correspond to an OR-operation, right?


- Marko Käning


On Jan. 3, 2013, 10:27 p.m., Marko Käning wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108150/
> -----------------------------------------------------------
> 
> (Updated Jan. 3, 2013, 10:27 p.m.)
> 
> 
> Review request for KMymoney.
> 
> 
> Description
> -------
> 
> I plan to introduce the new member function
> 
>   MyMoneyFile::countNotReconciledTransactions(const QString& accId)
> 
> which will do nothing else than counting the number of not reconciled transactions for a specific account.
> 
> 
> Before I proceed with the actual integration of data generated by this method into the homepage view's accounts tables (similar to [1]) I just want to ask here, whether this is actually the desired/required way to handle such a simple functionality?
> 
> 
> ---
> 
> [1] "homepage: extend accounts table with additional columns to reflect online-status" https://git.reviewboard.kde.org/r/107364/
> 
> 
> Diffs
> -----
> 
>   kmymoney/mymoney/mymoneyfile.h c43977ce7413eee2bc1e0a841fa548314c71e9df 
>   kmymoney/mymoney/mymoneyfile.cpp 6640356d5e07152f8eb4aecff23d62ee8d853dbd 
>   kmymoney/views/khomeview.cpp c79337176b7265cabe15cad4972bc719e797af7c 
> 
> Diff: http://git.reviewboard.kde.org/r/108150/diff/
> 
> 
> Testing
> -------
> 
> Simple test checked via qDebug() shows the desired functionality.
> 
> 
> Thanks,
> 
> Marko Käning
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20130104/a65ed572/attachment-0001.html>


More information about the KMyMoney-devel mailing list