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

int QApt::Backend::packageCount (  )  const

Queries the backend for the total number of packages in the Apt database, discarding no-longer-existing packages that linger on in the status cache (That have a version of 0)

The total number of packages in the Apt database

Definition at line 246 of file backend.cpp.

Referenced by packageCount(), and reloadCache().

    Q_D(const Backend);

    int packageCount = d->packages.size();

    return packageCount;

Generated by  Doxygen 1.6.0   Back to index