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

QString QApt::Package::priority (  )  const

Member function that returns the priority of the package

The priority of the package as a QString

Definition at line 319 of file package.cpp.

    pkgCache::VerIterator ver = (*d->depCache)[*d->packageIter].CandidateVerIter(*d->depCache);
    if (ver != 0) {
        QString priority = QString::fromStdString(ver.PriorityType());
        return priority;
    } else {
        return QString();

Generated by  Doxygen 1.6.0   Back to index