~ubuntu-branches/ubuntu/quantal/kpackagekit/quantal

« back to all changes in this revision

Viewing changes to SmartIcon/PkInterface.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Rohan Garg
  • Date: 2011-01-10 17:20:02 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20110110172002-64acog2s0tk4iav9
Tags: 0.6.3.3-0ubuntu1
* New upstream release
  - Refresh kubuntu_06_no_automatic_updates.diff
  - Drop kubuntu_08_updates_info.diff, applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#include "PkInstallProvideFiles.h"
36
36
#include "PkInstallCatalogs.h"
37
37
#include "PkRemovePackageByFiles.h"
 
38
#include "PkInstallPrinterDrivers.h"
38
39
 
39
40
#include "PkIsInstalled.h"
40
41
#include "PkSearchFile.h"
148
149
    task->run();
149
150
}
150
151
 
 
152
void PkInterface::InstallPrinterDrivers(uint xid, const QStringList &resources, const QString &interaction)
 
153
{
 
154
    increaseRunning();
 
155
    kDebug() << xid << resources << interaction;
 
156
    setDelayedReply(true);
 
157
    PkInstallPrinterDrivers *task;
 
158
    task = new PkInstallPrinterDrivers(xid, resources, interaction, message());
 
159
    connect(task, SIGNAL(finished()), this, SLOT(decreaseRunning()));
 
160
    task->run();
 
161
}
 
162
 
151
163
//Query
152
164
bool PkInterface::IsInstalled(const QString &package_name, const QString &interaction)
153
165
{