<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/103264/">http://git.reviewboard.kde.org/r/103264/</a>
     </td>
    </tr>
   </table>
   <br />


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for KMymoney.</div>
<div>By Marko Käning.</div>


<p style="color: grey;"><i>Updated Nov. 27, 2011, 2:20 p.m.</i></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">As suggested I introduced

 MyMoneyFile::hasMatchingOnlineBalance(const MyMoneyAccount& account)

which is used to query whether a specific account is matching its online balance or not.

I removed my previously introduced 

 isErroneous(void)

and made use of the already existing

 isErronous(void)

so that eventually

 p->setErroneous(!MyMoneyFile::instance()->hasMatchingOnlineBalance(m_account));

can be used to set the flag m_erroneous (which is false by default).</pre>
  </td>
 </tr>
</table>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Highlighting of online statement balance with red background and
highlighted text if file balance and online balance are different.
(This patch was put together from Thomas' and Cristian's advice on ML)</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Yes</pre>
  </td>
 </tr>
</table>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> (updated)</h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>kmymoney/mymoney/mymoneyfile.h <span style="color: grey">(d44e2ea)</span></li>

 <li>kmymoney/mymoney/mymoneyfile.cpp <span style="color: grey">(f573f9a)</span></li>

 <li>kmymoney/widgets/register.h <span style="color: grey">(8cd1a32)</span></li>

 <li>kmymoney/widgets/register.cpp <span style="color: grey">(39d991c)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/103264/diff/" style="margin-left: 3em;">View Diff</a></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Screenshots </h1>

<div>

 <a href="http://git.reviewboard.kde.org/r/103264/s/345/"><img src="http://git.reviewboard.kde.org/media/uploaded/images/2011/11/27/KMM-online-balance-highlight_400x100.tiff" style="border: 1px black solid;" alt="small snapshot showing the highlighted group marker" /></a>

</div>


  </td>
 </tr>
</table>




  </div>
 </body>
</html>