Logo Search packages:      
Sourcecode: qapt version File versions  Download package

void QApt::Package::setPurge (  ) 

Marks the package for complete removal, including config files.

Definition at line 923 of file package.cpp.

{
    pkgProblemResolver Fix(d->depCache);

    Fix.Clear(*d->packageIter);
    Fix.Protect(*d->packageIter);
    Fix.Remove(*d->packageIter);

    Fix.InstallProtect();
    Fix.Resolve(true);

    d->depCache->SetReInstall(*d->packageIter, false);
    d->depCache->MarkDelete(*d->packageIter, true);

    d->backend->packageChanged(this);
}


Generated by  Doxygen 1.6.0   Back to index