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

Package * QApt::Backend::package ( pkgCache::PkgIterator &  iter  )  const [private]

Prepares the package search mechanism

Returns:
true if opening succeeded

false if the opening didn't succeed

Definition at line 199 of file backend.cpp.

{
    Q_D(const Backend);
    int index = d->packagesIndex.at(iter->ID);
    if (index != -1) {
        return d->packages.at(index);
    }
    return 0;
}


Generated by  Doxygen 1.6.0   Back to index