~ubuntu-branches/debian/jessie/apper/jessie

« back to all changes in this revision

Viewing changes to apperd/TransactionJob.cpp

  • Committer: Package Import Robot
  • Author(s): Matthias Klumpp
  • Date: 2014-09-08 20:46:32 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20140908204632-ufmsw8zl9w1fqb49
Tags: 0.9.1-1
* Upload to unstable
* New upstream release: 0.9.1
* Drop all patches: Applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
{
43
43
    setCapabilities(Killable);
44
44
 
45
 
    connect(transaction, SIGNAL(changed()), this, SLOT(updateJob()));
 
45
    connect(transaction, SIGNAL(roleChanged()),
 
46
            SLOT(updateJob()));
 
47
    connect(transaction, SIGNAL(statusChanged()),
 
48
            SLOT(updateJob()));
 
49
    connect(transaction, SIGNAL(downloadSizeRemainingChanged()),
 
50
            SLOT(updateJob()));
 
51
    connect(transaction, SIGNAL(transactionFlagsChanged()),
 
52
            SLOT(updateJob()));
 
53
    connect(transaction, SIGNAL(percentageChanged()),
 
54
            SLOT(updateJob()));
 
55
    connect(transaction, SIGNAL(roleChanged()),
 
56
            SLOT(updateJob()));
 
57
    connect(transaction, SIGNAL(speedChanged()),
 
58
            SLOT(updateJob()));
46
59
    connect(transaction, SIGNAL(finished(PackageKit::Transaction::Exit,uint)),
47
60
            this, SLOT(finished(PackageKit::Transaction::Exit)));
48
 
    connect(transaction, SIGNAL(destroy()),
49
 
            this, SLOT(transactionDestroyed()));
50
61
    connect(transaction, SIGNAL(package(PackageKit::Transaction::Info,QString,QString)),
51
62
            this, SLOT(package(PackageKit::Transaction::Info,QString,QString)));
52
63
    connect(transaction, SIGNAL(repoDetail(QString,QString,bool)),
57
68
{
58
69
}
59
70
 
60
 
void TransactionJob::transactionDestroyed()
61
 
{
62
 
    finished(Transaction::ExitKilled);
63
 
}
64
 
 
65
71
void TransactionJob::finished(PackageKit::Transaction::Exit exit)
66
72
{
67
73
    if (m_finished) {