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

QString QApt::Package::maintainer (  )  const

Member function that returns the maintainer of the package

The maintainer of the package as a QString

Definition at line 238 of file package.cpp.

    QString maintainer;
    pkgCache::VerIterator ver = (*d->depCache)[*d->packageIter].CandidateVerIter(*d->depCache);
    if (!ver.end()) {
        pkgRecords::Parser & parser = d->records->Lookup(ver.FileList());
        maintainer = QString::fromUtf8(parser.Maintainer().data());
        maintainer.replace('<', "&lt;");
    return maintainer;

Generated by  Doxygen 1.6.0   Back to index