~dantti/apper/master

« back to all changes in this revision

Viewing changes to SmartIcon/KpkUpdateIcon.cpp

  • Committer: Daniel Nicoletti
  • Date: 2011-01-05 15:13:18 UTC
  • Revision ID: git-v1:c8cace8f335ae3326195756765bdc3b3f842b693
Biggest Apper changes done

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
void KpkUpdateIcon::showSettings()
55
55
{
56
 
    QProcess::execute("kpackagekit", QStringList() << "--settings");
 
56
    QProcess::execute("apper", QStringList() << "--settings");
57
57
}
58
58
 
59
59
// refresh the cache and try to update,
63
63
{
64
64
    // This is really necessary to don't bother the user with
65
65
    // tons of popups
 
66
//     Solid::PowerManagement::appShouldConserveResources()
66
67
    if (refresh) {
67
68
        if (!isRunning()) {
68
69
            SET_PROXY
263
264
 
264
265
void KpkUpdateIcon::showUpdates()
265
266
{
266
 
    QProcess::execute("kpackagekit", QStringList() << "--updates");
 
267
    QProcess::execute("apper", QStringList() << "--updates");
267
268
}
268
269
 
269
270
void KpkUpdateIcon::removeStatusNotifierItem()