<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/100604/">http://git.reviewboard.kde.org/r/100604/</a>
     </td>
    </tr>
   </table>
   <br />








<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
 <p style="margin-top: 0;">On April 7th, 2011, 10:34 p.m., <b>Pierre Rossi</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  



<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
 <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
    <a href="http://git.reviewboard.kde.org/r/100604/diff/3/?file=13938#file13938line104" style="color: black; font-weight: bold; text-decoration: underline;">src/mainview.cpp</a>
    <span style="font-weight: normal;">

     (Diff revision 3)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">MainView::MainView(MainWindow *parent)</pre></td>

  </tr>
 </tbody>



 
 




 <tbody>

  <tr>
    <th bgcolor="#e9eaa8" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2">104</font></th>
    <td bgcolor="#fdfebc" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span class="n">Q_FOREACH</span><span class="p">(</span><span class="k">const</span> <span class="n"><span class="hl">QString</span></span><span class="hl"> </span><span class="o"><span class="hl">&amp;</span></span><span class="n"><span class="hl">line</span></span><span class="p">,</span> <span class="n">list</span><span class="p">)</span></pre></td>
    <th bgcolor="#e9eaa8" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">104</font></th>
    <td bgcolor="#fdfebc" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span class="n">Q_FOREACH</span><span class="p">(</span><span class="k">const</span> <span class="n"><span class="hl">TabHistory</span></span><span class="hl"> </span><span class="o"><span class="hl">&amp;</span></span><span class="n"><span class="hl">tab</span></span><span class="p">,</span> <span class="n">list</span><span class="p">)</span></pre></td>
  </tr>

 </tbody>

</table>

  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">do we really need this all foreach loop ? It doesn&#39;t seem very likely to me that two closed tabs will have the same history...</pre>
 </blockquote>



 <p>On April 8th, 2011, 9:07 a.m., <b>Anton Kreuzkamp</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I don&#39;t see a better way currently.. (I&#39;ll have a look at it again)</pre>
 </blockquote>







</blockquote>
<pre style="margin-left: 1em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">There would be just the possibility to inherit TabHistory from QVariant and ship it as KAction::data(), but I&#39;m not sure if this is a good approach.</pre>
<br />




<p>- Anton</p>


<br />
<p>On April 8th, 2011, 2:51 p.m., Anton Kreuzkamp wrote:</p>






<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 rekonq.</div>
<div>By Anton Kreuzkamp.</div>


<p style="color: grey;"><i>Updated April 8, 2011, 2:51 p.m.</i></p>




<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;">Restore the history of the tab when restoring a tab from the list of closed tabs, by open last closed tab or by restoring the session.
Therefore I ported the session-file to xml, as it allows more complex session-files (which is also needed for multiple sessions support).
(Doesn&#39;t require a qtwebkit-patch anymore)
</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;">tested and everything seems to work fine.</pre>
  </td>
 </tr>
</table>




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

 <li>src/mainview.h <span style="color: grey">(acc2d8c)</span></li>

 <li>src/application.cpp <span style="color: grey">(1fe936f)</span></li>

 <li>src/history/historymanager.h <span style="color: grey">(eb8d78d)</span></li>

 <li>src/mainview.cpp <span style="color: grey">(b34acc3)</span></li>

 <li>src/newtabpage.cpp <span style="color: grey">(a598066)</span></li>

 <li>src/sessionmanager.h <span style="color: grey">(2297290)</span></li>

 <li>src/sessionmanager.cpp <span style="color: grey">(68bc635)</span></li>

 <li>src/tabbar.cpp <span style="color: grey">(1ab357f)</span></li>

</ul>

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




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








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