<div dir="ltr">Hi,<div><br></div><div>One thing I forgot to tell you on IRC is that after you have the transaction object, you have to call transaction->run() before the transaction actually starts.</div><div>This gives you a chance to set up localization and debconf settings for the transaction before running it.</div>
<div><br></div><div>Jonathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 15, 2013 at 8:55 AM, Michael Stemle <span dir="ltr"><<a href="mailto:themanchicken@gmail.com" target="_blank">themanchicken@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Jon T, this is mostly for you:<div><br></div><div>I am connecting to these signals:</div><div><ul><li>
</li><li>QApt::Transaction::errorOccurred(QApt::ErrorCode)</li><li>QApt::Transaction::statusChanged(QApt::TransactionStatus)</li>

<li>QApt::Transaction::progressChanged(int)</li></ul>It doesn't seem like I'm getting any of my slots called for any of these signals, and I'm wondering if it has to do with how fast the operation is happening. I've tried testing Transaction->status() == QApt::FinishedStatus immediately following my connects but it doesn't evaluate as true.</div>


<div><br></div><div>I'm at a bit of a loss as to how to detect when that updateCache() call is finished.</div><div><br></div><div>Here's the code: <a href="http://paste.ubuntu.com/5877335/" target="_blank">http://paste.ubuntu.com/5877335/</a><br>


<div><br></div><div>Much thanks.</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>~ Michael D. Stemle, Jr.
</font></span></div></div>
<br>--<br>
kubuntu-devel mailing list<br>
<a href="mailto:kubuntu-devel@lists.ubuntu.com">kubuntu-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel</a><br>
<br></blockquote></div><br></div>