libqapt signal for detecting updateCache() completion...
echidnaman at gmail.com
Mon Jul 15 13:28:03 UTC 2013
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.
This gives you a chance to set up localization and debconf settings for the
transaction before running it.
On Mon, Jul 15, 2013 at 8:55 AM, Michael Stemle <themanchicken at gmail.com>wrote:
> Hey Jon T, this is mostly for you:
> I am connecting to these signals:
> - QApt::Transaction::errorOccurred(QApt::ErrorCode)
> - QApt::Transaction::statusChanged(QApt::TransactionStatus)
> - QApt::Transaction::progressChanged(int)
> 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.
> I'm at a bit of a loss as to how to detect when that updateCache() call is
> Here's the code: http://paste.ubuntu.com/5877335/
> Much thanks.
> ~ Michael D. Stemle, Jr.
> kubuntu-devel mailing list
> kubuntu-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kubuntu-devel