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

QString QApt::Package::installedVersion (  )  const

Member function that returns the installed version of the package If this package is not installed, this function will return a null QString

The installed version of the package as a QString

Definition at line 299 of file package.cpp.

    if ((*d->packageIter)->CurrentVer == 0) {
        return QString();
    QString installedVersion = QString::fromStdString(d->packageIter->CurrentVer().VerStr());
    return installedVersion;

Generated by  Doxygen 1.6.0   Back to index