org.freedesktop.PackageKit.Query

Name

org.freedesktop.PackageKit.Query -- Query interface

Methods

IsInstalled                (in  's'  package_name,
                            in  's'  interaction,
                            out 'b'  installed)
SearchFile                 (in  's'  file_name,
                            in  's'  interaction,
                            out 'b'  installed,
                            out 's'  package_name)
InstallPackageFiles        (in  'u'  xid,
                            in  'as' files,
                            in  's'  interaction)
InstallProvideFiles        (in  'u'  xid,
                            in  'as' files,
                            in  's'  interaction)
InstallCatalogs            (in  'u'  xid,
                            in  'as' files,
                            in  's'  interaction)
InstallPackageNames        (in  'u'  xid,
                            in  'as' packages,
                            in  's'  interaction)
InstallMimeTypes           (in  'u'  xid,
                            in  'as' mime_types,
                            in  's'  interaction)
InstallFontconfigResources (in  'u'  xid,
                            in  'as' resources,
                            in  's'  interaction)
InstallGStreamerResources  (in  'u'  xid,
                            in  'as' resources,
                            in  's'  interaction)
InstallResources           (in  'u'  xid,
                            in  's'  type,
                            in  'as' resources,
                            in  's'  interaction)
RemovePackageByFiles       (in  'u'  xid,
                            in  'as' files,
                            in  's'  interaction)
InstallPrinterDrivers      (in  'u'  xid,
                            in  'as' resources,
                            in  's'  interaction)

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.

The interface used for modifying the package database.

Details

IsInstalled ()

IsInstalled (in  's' package_name,
             in  's' interaction,
             out 'b' installed)

Finds out if the package is installed.

package_name:

A package name, e.g. hal-info

interaction:

An optional interaction mode, e.g. timeout=10

installed:

If the package is installed.

SearchFile ()

SearchFile (in  's' file_name,
            in  's' interaction,
            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

interaction:

An optional interaction mode, e.g. timeout=10

installed:

If the package is installed.

package_name:

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

InstallPackageFiles ()

InstallPackageFiles (in  'u'  xid,
                     in  'as' files,
                     in  's'  interaction)

Installs local package files or service packs.

xid:

The X window handle ID, used for focus stealing prevention and setting modality.

files:

An array of file names.

interaction:

An interaction mode that specifies which UI elements should be shown or hidden different from the user default, e.g. hide-confirm-search,hide-confirm-deps,hide-confirm-install,show-progress. The show options are: show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning. The hide options are: hide-confirm-search,hide-confirm-deps,hide-confirm-install,hide-progress,hide-finished,hide-warning. Convenience options such as: never, defaults or always. are also available.

InstallProvideFiles ()

InstallProvideFiles (in  'u'  xid,
                     in  'as' files,
                     in  's'  interaction)

Installs packages to provide files.

xid:

The X window handle ID, used for focus stealing prevention and setting modality.

files:

An array of file names.

interaction:

An optional interaction mode, e.g. show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning

InstallCatalogs ()

InstallCatalogs (in  'u'  xid,
                 in  'as' files,
                 in  's'  interaction)

Installs specified package catalogs.

xid:

The X window handle ID, used for focus stealing prevention and setting modality.

files:

An array of catalog file names.

interaction:

An optional interaction mode, e.g. show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning

InstallPackageNames ()

InstallPackageNames (in  'u'  xid,
                     in  'as' packages,
                     in  's'  interaction)

Installs packages from a configured software source.

xid:

The X window handle ID, used for focus stealing prevention and setting modality.

packages:

An array of package names.

interaction:

An optional interaction mode, e.g. show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning

InstallMimeTypes ()

InstallMimeTypes (in  'u'  xid,
                  in  'as' mime_types,
                  in  's'  interaction)

Installs mimetype handlers from a configured software source.

xid:

The X window handle ID, used for focus stealing prevention and setting modality.

mime_types:

An array of mime types, e.g. text/plain

interaction:

An optional interaction mode, e.g. show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning

InstallFontconfigResources ()

InstallFontconfigResources (in  'u'  xid,
                            in  'as' resources,
                            in  's'  interaction)

Installs fontconfig resources (usually fonts) from a configured software source.

xid:

The X window handle ID, used for focus stealing prevention and setting modality.

resources:

An array of font descriptors from fontconfig, e.g. :lang=mn

interaction:

An optional interaction mode, e.g. show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning

InstallGStreamerResources ()

InstallGStreamerResources (in  'u'  xid,
                           in  'as' resources,
                           in  's'  interaction)

Installs GStreamer fontconfig resources (usually codecs) from a configured software source.

xid:

The X window handle ID, used for focus stealing prevention and setting modality.

resources:

An array of codecs descriptors from pk-gstreamer-install, e.g. Advanced Streaming Format (ASF) demuxer|decoder-video/x-ms-asf

interaction:

An optional interaction mode, e.g. show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning

InstallResources ()

InstallResources (in  'u'  xid,
                  in  's'  type,
                  in  'as' resources,
                  in  's'  interaction)

Installs resources of a given type from a configured software source.

xid:

The X window handle ID, used for focus stealing prevention and setting modality.

type:

The type of resource to request, e.g. plasma-service

resources:

An array of resource descriptors

interaction:

An optional interaction mode, e.g. show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning

RemovePackageByFiles ()

RemovePackageByFiles (in  'u'  xid,
                      in  'as' files,
                      in  's'  interaction)

Removes packages that provide the given local files.

xid:

The X window handle ID, used for focus stealing prevention and setting modality.

files:

An array of file names.

interaction:

An interaction mode that specifies which UI elements should be shown or hidden different from the user default, e.g. hide-confirm-search,hide-confirm-deps,hide-confirm-install,show-progress. The show options are: show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning. The hide options are: hide-confirm-search,hide-confirm-deps,hide-confirm-install,hide-progress,hide-finished,hide-warning. Convenience options such as: never, defaults or always. are also available.

InstallPrinterDrivers ()

InstallPrinterDrivers (in  'u'  xid,
                       in  'as' resources,
                       in  's'  interaction)

Installs printer drivers from a configured software source.

xid:

The X window handle ID, used for focus stealing prevention and setting modality.

resources:

An array of printer model descriptors in IEEE 1284 Device ID format, e.g. MFG:Hewlett-Packard;MDL:HP LaserJet 6MP;.

interaction:

An optional interaction mode, e.g. show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning

Signal Details

Property Details