Hi, answering via email below since RB returned server error when tried to publich my post :)<br><br><div class="gmail_quote">On 4 May 2012 12:48, Adam Pigg <span dir="ltr"><<a href="mailto:adam@piggz.co.uk" target="_blank">adam@piggz.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="font-family:Verdana,Arial,Helvetica,Sans-Serif"><div>
<table style="border:1px solid rgb(201,195,153)" width="100%" bgcolor="#f9f3c9" cellpadding="8">
<tbody><tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/104833/" target="_blank">http://git.reviewboard.kde.org/r/104833/</a>
</td>
</tr>
</tbody></table>
<br>
</div><div>
<table width="100%" bgcolor="white" border="0">
<thead>
<tr>
<th colspan="4" style="border-bottom:1px solid rgb(192,192,192);font-size:9pt;padding:4px 8px;text-align:left" bgcolor="#f0f0f0">
<a href="http://git.reviewboard.kde.org/r/104833/diff/1/?file=62059#file62059line81" style="text-decoration:underline;font-weight:bold" target="_blank">kexi/kexidb/relationship.h</a>
<span style="font-weight:normal">
(Diff revision 1)
</span>
</th>
</tr>
</thead>
<tbody style="background-color:rgb(228,217,203);padding:4px 8px;text-align:center">
<tr>
<td colspan="4"><pre style="font-size:8pt;line-height:140%;margin:0pt">class IndexSchema;</pre></td>
</tr>
</tbody>
<tbody>
<tr>
<th style="border-right:1px solid rgb(192,192,192)" align="right" bgcolor="#e9eaa8"><font>81</font></th>
<td width="50%" bgcolor="#fdfebc"><pre style="font-size:8pt;line-height:140%;margin:0pt"> <span>typedef</span> <span><span>KexiUtils</span></span><span><span>::</span></span><span><span>Autodeleted</span>List</span><span><</span><span>Relationship</span><span>*></span> <span>List</span><span>;</span></pre>
</td>
<th style="border-left:1px solid rgb(192,192,192);border-right:1px solid rgb(192,192,192)" align="right" bgcolor="#e9eaa8"><font>81</font></th>
<td width="50%" bgcolor="#fdfebc"><pre style="font-size:8pt;line-height:140%;margin:0pt"> <span>typedef</span> <span><span>Q</span>List</span><span><</span><span>Relationship</span><span>*></span> <span>List</span><span>;</span></pre>
</td>
</tr>
</tbody>
</table>
<pre style="margin-left:2em;white-space:pre-wrap;word-wrap:break-word">is KexiAutoDeletedList unsafe? Could it be removed?</pre></div></div></div></blockquote><div><br>KexiAutoDeletedList was convenient replacement for Qt3 containers with autodelete option set on. But in this case cross-depemndencies between the instances lead to double deletion, so normal list is needed. BTW, autodeleted lists are gone in predicate (and in many cases structures are implicitly/explicitly shared classes).<br>
<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Verdana,Arial,Helvetica,Sans-Serif"><div>
</div>
<br>
<div>
<table width="100%" bgcolor="white" border="0">
<thead>
<tr>
<th colspan="4" style="border-bottom:1px solid rgb(192,192,192);font-size:9pt;padding:4px 8px;text-align:left" bgcolor="#f0f0f0">
<a href="http://git.reviewboard.kde.org/r/104833/diff/1/?file=62060#file62060line954" style="text-decoration:underline;font-weight:bold" target="_blank">kexi/plugins/queries/kexiquerydesignerguieditor.cpp</a>
<span style="font-weight:normal">
(Diff revision 1)
</span>
</th>
</tr>
</thead>
<tbody style="background-color:rgb(228,217,203);padding:4px 8px;text-align:center">
<tr>
<td colspan="4"><pre style="font-size:8pt;line-height:140%;margin:0pt">void KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal(</pre></td>
</tr>
</tbody>
<tbody>
<tr>
<th style="border-right:1px solid rgb(192,192,192)" align="right" bgcolor="#e9eaa8"><font>949</font></th>
<td width="50%" bgcolor="#fdfebc"><pre style="font-size:8pt;line-height:140%;margin:0pt"> <span> </span><span><span>const</span></span> <span>KexiDB</span><span>::</span><span>OrderByColumnList</span> <span>orderByColumns</span><span><span>(</span></span><span>query</span><span>-></span><span>orderByColumnList</span><span>()<span>)</span>;</span></pre>
</td>
<th style="border-left:1px solid rgb(192,192,192);border-right:1px solid rgb(192,192,192)" align="right" bgcolor="#e9eaa8"><font>954</font></th>
<td width="50%" bgcolor="#fdfebc"><pre style="font-size:8pt;line-height:140%;margin:0pt"> <span>KexiDB</span><span>::</span><span>OrderByColumnList</span><span><span>&</span></span> <span>orderByColumns</span><span> </span><span><span>=</span></span><span> </span><span>query</span><span>-></span><span>orderByColumnList</span><span>();</span></pre>
</td>
</tr>
</tbody>
</table>
<pre style="margin-left:2em;white-space:pre-wrap;word-wrap:break-word">is there a problem with the copy constructor?</pre>
</div>
<br></div></div></blockquote><div><br>yes, we did not want to copy here.<br></div></div><br><br clear="all"><br>-- <br>regards / pozdrawiam, Jaroslaw Staniek<br> <a href="http://www.linkedin.com/in/jstaniek" target="_blank">http://www.linkedin.com/in/jstaniek</a><br>
Kexi & Calligra (<a href="http://kexi-project.org" target="_blank">kexi-project.org</a>, <a href="http://identi.ca/kexi" target="_blank">identi.ca/kexi</a>, <a href="http://calligra-suite.org" target="_blank">calligra-suite.org</a>)<br>
KDE Software Development Platform on MS Windows (<a href="http://windows.kde.org" target="_blank">windows.kde.org</a>)<br>