<div dir="ltr">On Sat, Sep 21, 2013 at 8:39 PM, Kevin Krammer <span dir="ltr"><<a href="mailto:krammer@kde.org" target="_blank">krammer@kde.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Saturday, 2013-09-21, Mark wrote:<br>
> Hi,<br>
><br>
> I've just created a quite complicated testcase for frameworks which uses<br>
> the new signal/slot connection syntax (since Qt 5.0) and uses a lambda as<br>
> slot. The reason i did this is so that i can keep then entire testcase<br>
> (minus the initialization) contained in one testcase method. Otherwise i<br>
> would have to make signal/slot connections to member functions which is<br>
> probably not something you want for testcases..<br>
<br>
</div>Wouldn't it also be possible to use QSignalSpy?<br><br></blockquote><div><br></div><div>Yes, that would probably remove the need for a direct lamba connection and with some more fiddling around i can probably also remove the other lambda in there with "auto findFilename ..." which would remove the need for C++11.. But this is kinda short as it is for what it does, it will get bigger in code if i work around it which i like to prevent.</div>

</div></div></div>