org.freedesktop.PackageKit.Query

Name

org.freedesktop.PackageKit.Query -- Query interface

Methods

IsPackageInstalled (in  's' package_name,
                    out 'b' installed)
SearchFile         (in  's' file_name,
                    out 'b' installed,
                    out 's' package_name)

Signals

Implemented Interfaces

org.freedesktop.PackageKit.Query implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties

Properties

Description

The interface used for quering the package database.

Details

IsPackageInstalled ()

IsPackageInstalled (in  's' package_name,
                    out 'b' installed)

Finds out if the package is installed.

package_name:

A package name, e.g. hal-info

installed:

If the package is installed.

SearchFile ()

SearchFile (in  's' file_name,
            out 'b' installed,
            out 's' package_name)

Finds the package name for an installed or available file

file_name:

A package name, e.g. /usr/share/help/gimp/index.html

installed:

If the package is installed.

package_name:

The package name of the file, e.g. hal-info

Signal Details

Property Details