| 1 | /****************************************************************************
|
|---|
| 2 | **
|
|---|
| 3 | ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|---|
| 4 | ** Contact: Qt Software Information (qt-info@nokia.com)
|
|---|
| 5 | **
|
|---|
| 6 | ** This file is part of the documentation of the Qt Toolkit.
|
|---|
| 7 | **
|
|---|
| 8 | ** $QT_BEGIN_LICENSE:LGPL$
|
|---|
| 9 | ** Commercial Usage
|
|---|
| 10 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
|---|
| 11 | ** accordance with the Qt Commercial License Agreement provided with the
|
|---|
| 12 | ** Software or, alternatively, in accordance with the terms contained in
|
|---|
| 13 | ** a written agreement between you and Nokia.
|
|---|
| 14 | **
|
|---|
| 15 | ** GNU Lesser General Public License Usage
|
|---|
| 16 | ** Alternatively, this file may be used under the terms of the GNU Lesser
|
|---|
| 17 | ** General Public License version 2.1 as published by the Free Software
|
|---|
| 18 | ** Foundation and appearing in the file LICENSE.LGPL included in the
|
|---|
| 19 | ** packaging of this file. Please review the following information to
|
|---|
| 20 | ** ensure the GNU Lesser General Public License version 2.1 requirements
|
|---|
| 21 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|---|
| 22 | **
|
|---|
| 23 | ** In addition, as a special exception, Nokia gives you certain
|
|---|
| 24 | ** additional rights. These rights are described in the Nokia Qt LGPL
|
|---|
| 25 | ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
|
|---|
| 26 | ** package.
|
|---|
| 27 | **
|
|---|
| 28 | ** GNU General Public License Usage
|
|---|
| 29 | ** Alternatively, this file may be used under the terms of the GNU
|
|---|
| 30 | ** General Public License version 3.0 as published by the Free Software
|
|---|
| 31 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
|---|
| 32 | ** packaging of this file. Please review the following information to
|
|---|
| 33 | ** ensure the GNU General Public License version 3.0 requirements will be
|
|---|
| 34 | ** met: http://www.gnu.org/copyleft/gpl.html.
|
|---|
| 35 | **
|
|---|
| 36 | ** If you are unsure which license is appropriate for your use, please
|
|---|
| 37 | ** contact the sales department at qt-sales@nokia.com.
|
|---|
| 38 | ** $QT_END_LICENSE$
|
|---|
| 39 | **
|
|---|
| 40 | ****************************************************************************/
|
|---|
| 41 |
|
|---|
| 42 | /** -*- mode: C++ -*-
|
|---|
| 43 | ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|---|
| 44 | ** Contact: Qt Software Information (qt-info@nokia.com)
|
|---|
| 45 | **
|
|---|
| 46 | ** This file is part of the documentation of the Qt Toolkit.
|
|---|
| 47 | **
|
|---|
| 48 | ** $QT_BEGIN_LICENSE:LGPL$
|
|---|
| 49 | ** Commercial Usage
|
|---|
| 50 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
|---|
| 51 | ** accordance with the Qt Commercial License Agreement provided with the
|
|---|
| 52 | ** Software or, alternatively, in accordance with the terms contained in
|
|---|
| 53 | ** a written agreement between you and Nokia.
|
|---|
| 54 | **
|
|---|
| 55 | ** GNU Lesser General Public License Usage
|
|---|
| 56 | ** Alternatively, this file may be used under the terms of the GNU Lesser
|
|---|
| 57 | ** General Public License version 2.1 as published by the Free Software
|
|---|
| 58 | ** Foundation and appearing in the file LICENSE.LGPL included in the
|
|---|
| 59 | ** packaging of this file. Please review the following information to
|
|---|
| 60 | ** ensure the GNU Lesser General Public License version 2.1 requirements
|
|---|
| 61 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|---|
| 62 | **
|
|---|
| 63 | ** In addition, as a special exception, Nokia gives you certain
|
|---|
| 64 | ** additional rights. These rights are described in the Nokia Qt LGPL
|
|---|
| 65 | ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
|
|---|
| 66 | ** package.
|
|---|
| 67 | **
|
|---|
| 68 | ** GNU General Public License Usage
|
|---|
| 69 | ** Alternatively, this file may be used under the terms of the GNU
|
|---|
| 70 | ** General Public License version 3.0 as published by the Free Software
|
|---|
| 71 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
|---|
| 72 | ** packaging of this file. Please review the following information to
|
|---|
| 73 | ** ensure the GNU General Public License version 3.0 requirements will be
|
|---|
| 74 | ** met: http://www.gnu.org/copyleft/gpl.html.
|
|---|
| 75 | **
|
|---|
| 76 | ** If you are unsure which license is appropriate for your use, please
|
|---|
| 77 | ** contact the sales department at qt-sales@nokia.com.
|
|---|
| 78 | ** $QT_END_LICENSE$
|
|---|
| 79 | **
|
|---|
| 80 | ****************************************************************************/
|
|---|
| 81 |
|
|---|
| 82 | /*!
|
|---|
| 83 | \module QtDBus
|
|---|
| 84 | \title QtDBus module
|
|---|
| 85 | \contentspage Qt's Modules
|
|---|
| 86 | \previouspage QAxServer
|
|---|
| 87 | \ingroup modules
|
|---|
| 88 |
|
|---|
| 89 | \keyword QtDBus
|
|---|
| 90 | \target The QDBus compiler
|
|---|
| 91 |
|
|---|
| 92 | \brief The QtDBus module is a Unix-only library that you can use
|
|---|
| 93 | to make Inter-Process Communication using the \l {Introduction to
|
|---|
| 94 | D-Bus} {D-Bus} protocol.
|
|---|
| 95 |
|
|---|
| 96 | Applications using the QtDBus module can provide services to
|
|---|
| 97 | other, remote applications by exporting objects, as well as use
|
|---|
| 98 | services exported by those applications by placing calls and
|
|---|
| 99 | accessing properties.
|
|---|
| 100 |
|
|---|
| 101 | The QtDBus module provides an interface that extends the Qt \l
|
|---|
| 102 | {signalsandslots.html}{Signals and Slots} mechanism, allowing one
|
|---|
| 103 | to connect to a signal emitted remotely as well as to connect a
|
|---|
| 104 | local signal to remote slot.
|
|---|
| 105 |
|
|---|
| 106 | To use this module, use the following code in your application:
|
|---|
| 107 |
|
|---|
| 108 | \snippet doc/src/snippets/code/doc_src_qtdbus.qdoc 0
|
|---|
| 109 |
|
|---|
| 110 | If you're using qmake to build your application, you can add this
|
|---|
| 111 | line to your .pro file to make it link against the QtDBus
|
|---|
| 112 | libraries:
|
|---|
| 113 |
|
|---|
| 114 | \snippet doc/src/snippets/code/doc_src_qtdbus.qdoc 1
|
|---|
| 115 |
|
|---|
| 116 | \note The source code for this module is located in the \c{src/qdbus}
|
|---|
| 117 | directory. When installing Qt from source, this module is built when Qt's
|
|---|
| 118 | tools are built.
|
|---|
| 119 |
|
|---|
| 120 | See the \l {Introduction to D-Bus} page for detailed information on
|
|---|
| 121 | how to use this module.
|
|---|
| 122 |
|
|---|
| 123 | This module is part of all \l{Qt editions}.
|
|---|
| 124 | */
|
|---|