<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 29 November 2014 at 03:23, Tobias Leupold <span dir="ltr"><<a href="mailto:tobias.leupold@web.de" target="_blank">tobias.leupold@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi :-)<br>
<br>
I just had a look at it (not that I ever touched the respective code ...).<br>
std::tuple is actually used in<br>
AnnotationDialog::Dialog::selectionForMultiSelect, as well as std::tie. Both<br>
seem to be part of the Boost package (at least here on current stable Gentoo).<br>
std::tuple looks like a QPair counterpart (not sure about the std::tie thing,<br>
as I'm not really a C++ guru ;-)<br>
<br>
Why don't we use Qt here (instead of using "external" libraries)? I didn't see<br>
some std::* stuff elsewhere, I'm just wondering if we could e. g. use<br>
<br>
        QPair<QStringList, QStringList>(itemsOnAllImages, itemsPartiallyOn);<br>
<br>
instead of<br>
<br>
        std::make_tuple( itemsOnAllImages,  itemsPartiallyOn );<br>
<br>
of course with itemsOnAllImages and itemsPartiallyOn declared as QStringList<br>
before and so on.<br>
<br>
For the <algorithm.h> include: Where is this used? I didn't find it!<br></blockquote><div><br></div><div><algorithm> is needed for std::all_of()</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers, Tobias<br>
<br>
Am Freitag 28 November 2014, 23:18:47 schrieb Henner Zeller:<br>
<div><div class="h5">> Hi,<br>
> While compiling kphotoalbum today (on wheezy), I had to add some includes -<br>
> functions used in ImagePreview.cpp and Dialog.cpp but whose headers were<br>
> missing.<br>
> Patch attached.<br>
><br>
> -h<br>
<br>
</div></div>_______________________________________________<br>
KPhotoAlbum mailing list<br>
<a href="mailto:KPhotoAlbum@mail.kdab.com">KPhotoAlbum@mail.kdab.com</a><br>
<a href="https://mail.kdab.com/mailman/listinfo/kphotoalbum" target="_blank">https://mail.kdab.com/mailman/listinfo/kphotoalbum</a><br>
</blockquote></div><br></div></div>