Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QtDBus module

The QtDBus module is a Unix-only library that you can use to perform Inter-Process Communication using the D-Bus protocol. More...

Namespaces

QDBus

Contains miscellaneous identifiers used throughout the QtDBus library

Classes

QDBusAbstractAdaptor

The base class of D-Bus adaptor classes

QDBusAbstractInterface

The base class for all D-Bus interfaces in the QtDBus binding, allowing access to remote interfaces

QDBusArgument

Used to marshall and demarshall D-Bus arguments

QDBusConnection

Represents a connection to the D-Bus bus daemon

QDBusConnectionInterface

Access to the D-Bus bus daemon service

QDBusContext

Allows slots to determine the D-Bus context of the calls

QDBusError

Represents an error received from the D-Bus bus or from remote applications found in the bus

QDBusInterface

Proxy for interfaces on remote objects

QDBusMessage

Represents one message sent or received over the D-Bus bus

QDBusObjectPath

Enables the programmer to identify the OBJECT_PATH type provided by the D-Bus typesystem

QDBusPendingCall

Refers to one pending asynchronous call

QDBusPendingCallWatcher

Convenient way for waiting for asynchronous replies

QDBusPendingReply

Contains the reply to an asynchronous method call

QDBusReply

Stores the reply for a method call to a remote object

QDBusServer

Peer-to-peer communication between processes on the same computer

QDBusServiceWatcher

Allows the user to watch for a bus service change

QDBusSignature

Enables the programmer to identify the SIGNATURE type provided by the D-Bus typesystem

QDBusUnixFileDescriptor

Holds one Unix file descriptor

QDBusVariant

Enables the programmer to identify the variant type provided by the D-Bus typesystem

Detailed Description

Applications using the QtDBus module can provide services to other, remote applications by exporting objects, as well as use services exported by those applications by placing calls and accessing properties.

The QtDBus module provides an interface that extends the Qt Signals and Slots mechanism, allowing one to connect to a signal emitted remotely as well as to connect a local signal to remote slot.

To use this module, use the following code in your application:

 #include <QtDBus>

If you're using qmake to build your application, you can add this line to your .pro file to make it link against the QtDBus libraries:

 QT += dbus

Note: The source code for this module is located in the src/qdbus directory. When installing Qt from source, this module is built when Qt's tools are built.

See the D-Bus page for detailed information on how to use this module.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web