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

QString QApt::Package::homepage (  )  const

Member function that returns the homepage of the package

Returns:
The homepage of the package as a QString

Definition at line 250 of file package.cpp.

{
    QString homepage;
    pkgCache::VerIterator ver = (*d->depCache)[*d->packageIter].CandidateVerIter(*d->depCache);
    if (!ver.end()) {
        pkgRecords::Parser & parser = d->records->Lookup(ver.FileList());
        homepage = QString::fromStdString(parser.Homepage());
    }
    return homepage;
}


Generated by  Doxygen 1.6.0   Back to index