summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusconnection.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add DBus VirtualObject to handle multiple paths.Frederik Gladhorn2011-07-041-1/+51
| | | | | | | | | | When a virtual object is registered with the SubPath option it will handle all dbus calls to itself and all child paths. It needs to reimplement handleMessage for that purpose. Introspection needs to be implemented manually in the introspect function. Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2011-06-231-0/+21
|\ | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Add a function that returns the D-Bus local machine ID Add an SSE4.2 even simpler version of toLatin1
| * Add a function that returns the D-Bus local machine IDThiago Macieira2011-06-231-0/+21
| | | | | | | | Reviewed-by: Lars Knoll
* | Merge branch '4.8' of scm.dev.nokia.troll.no:qt/qtDavid Boddie2011-05-241-17/+17
|\ \ | |/ | | | | | | | | | | | | Conflicts: src/gui/text/qrawfont.cpp src/gui/text/qtextlayout.cpp src/gui/util/qscroller.cpp src/gui/widgets/qlineedit.cpp
| * Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | | | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* | Doc: Fixed qdoc warnings.David Boddie2011-05-121-3/+4
|/
* QtDBus: Register QDBusServer connection name in QDBusConnectionManagerDaniele E. Domenichelli2011-04-181-21/+6
| | | | | | Merge-request: 2343 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* QtDBus: Fix minor coding style issuesDaniele E. Domenichelli2011-04-181-4/+4
| | | | | | Merge-request: 2343 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* QtDBus: Add method QDBusConnection::disconnectFromPeer()Daniele E. Domenichelli2011-04-181-0/+21
| | | | | | Merge-request: 2343 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* QtDBus: Add method QDBusConnection::connectToPeer()Daniele E. Domenichelli2011-04-181-0/+34
| | | | | | Merge-request: 2343 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* QtDBus: Fix QDBusConnection::disconnectFromBus() for peer-to-peer connectionsDaniele E. Domenichelli2011-04-181-0/+3
| | | | | | Merge-request: 2343 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* QtDBus: Fix registering objects using path '/' in peer-to-peer connectionsDaniele E. Domenichelli2011-04-181-1/+1
| | | | | | Merge-request: 2343 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* QtDBus: Cleaning comments, spacing, etc.Daniele E. Domenichelli2011-04-181-2/+2
| | | | | | Merge-request: 2343 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Add a set of connection capabilities to QDBusConnectionThiago Macieira2011-03-291-0/+23
| | | | | | | | | | | | | | The capabilities are negotiated with the D-Bus peer or bus at connection time and may include extra features not available when D-Bus 1.0 was released. Currently (as of D-Bus 1.4), the only additional feature is Unix file descriptor passing. Proposed features are "maybe types" and single-precision floating point. They may be added to D-Bus 1.6. Task-number: QTBUG-17478
* Move the main D-Bus session and system connections to the main threadThiago Macieira2011-03-291-1/+11
| | | | | | Some applications experience weird behaviour that sometimes it works and sometimes it doesn't, due to D-Bus being first used in a thread. So instead do everything in the main thread for the two main connections.
* Add a way to obtain the DBusConnection* pointer from a QDBusConnectionThiago Macieira2011-03-291-0/+15
| | | | | | | | | | This is internal API and the behaviour may change without notice. In the future, I could use a different implementation without libdbus-1, so this pointer may be something different. The use of DBusConnection is also entirely implementation-defined, so keeping this connection around is entirely unsupported. You have been warned.
* Validate arguments to QDBusConnection::connectThiago Macieira2011-01-211-2/+18
| | | | | | | | This fixes a crash caused by user code trying to connect to object paths that aren't valid (if we send this to the bus daemon, we get an error with the AddMatch call). Reviewed-by: Trust Me
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* Doc: Clarified the lifetime of the session bus connection.David Boddie2010-11-031-3/+3
| | | | Reviewed-by: Thiago Macieira
* Merge remote branch 'origin/4.7' into oslo-staging-2/4.7Olivier Goffart2010-08-091-9/+6
|\ | | | | | | | | | | | | | | | | | | Conflicts: doc/src/index.qdoc src/dbus/qdbusconnection.cpp src/gui/s60framework/qs60mainapplication.cpp src/gui/s60framework/qs60mainappui.cpp src/network/access/qnetworkrequest.cpp src/network/bearer/qnetworkconfiguration.h
| * doc: Fixed some qdoc errors.Martin Smith2010-08-061-2/+3
| |
| * Move note on connectToBus() not actually being able to reconnect toRobin Burchell2010-08-051-4/+3
| | | | | | | | | | | | | | | | | | connectToBus() documentation, where it belongs. This also fixes some bad English ("make be connected") by means of removing it. Merge-request: 2443 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* | Doc: Fixed qdoc warnings.David Boddie2010-08-051-0/+4
|/ | | | Reviewed-by: Trust Me
* Fixed spelling mistakes in documented functions, classes, etc. Part of ↵Jerome Pasion2010-07-291-1/+1
| | | | QTBUG-11938 and QTBUG-10801
* fix the export macros for the QtDBus moduleRomain Pokrzywka2010-07-211-1/+1
| | | | | Merge-request: 2439 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* Remove unused function in QDBusConnectionPrivateThiago Macieira2010-05-251-8/+0
|
* Introduce a qconfig feature for QtDBusTasuku Suzuki2010-04-081-0/+4
| | | | | | | | | | QtDBus module is useless with QT_NO_PROPERTIES. Add D-Bus section and DBUS feature which requires PROPERTIES. Update qfeatures.h. Disable QtDBus module, a bearer management plugin for NetworkManager and a script plugin for QtDBus when QT_NO_DBUS is defined. Merge-request: 511 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Doc: document what the timeout of -1 means in D-BusThiago Macieira2010-03-041-3/+14
| | | | Task-number: QTBUG-8729
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Remove the need to know the service owner when adding/removing signal rules.Thiago Macieira2010-01-021-3/+1
| | | | | Task-number: QTBUG-5979 Reviewed-By: TrustMe
* Revert "Revert "Stop using the NameOwnerChanged signal without arg0 in ↵Thiago Macieira2009-11-241-3/+0
| | | | | | | | QtDBus itself"" This reverts commit db1cff73726ff12d50139769dc8071f9e9173261. Task-number: QTBUG-5979
* Revert "Stop using the NameOwnerChanged signal without arg0 in QtDBus itself"Thiago Macieira2009-11-191-0/+3
| | | | | | This partially reverts commit 1176ecf0b533279e5a1c97f183e5c5f1c57fb188. Task-number: QTBUG-5972
* Stop using the NameOwnerChanged signal without arg0 in QtDBus itselfThiago Macieira2009-10-281-4/+0
| | | | | | | | We were using this signal to update the signal hooks when the remote service changed. That meant each Qt app received every single service creation, change or destruction. Now we only watch the services we're really interested in.
* Move the bulk of the signal connecting/disconnecting code to ↵Thiago Macieira2009-10-281-60/+3
| | | | | | | QDBusConnectionPrivate I'll need to recurse into the signal connection mechanism in the next commit.
* Add new public API to QDBusConnection for connecting with stringThiago Macieira2009-10-281-19/+69
| | | | | | | | | | | | matching. The bus allows us to match string arguments when receiving messages. This is very useful for the NameOwnerChanged signal, whose first argument is usually what we're interested in. By using these new functions, you can restrict receiving of signals to those that you truly want, instead of receiving NameOwnerChanged for all services registered/unregistered on the bus.
* Add the ability for the match-rule builder to add argument matching.Thiago Macieira2009-10-281-2/+2
| | | | I'll use this feature to match the NameOwnerChanged signal from the bus.
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Update license headers.Jason McDonald2009-08-111-1/+1
| | | | Reviewed-by: Trust Me
* Add a note about this method not being safe in multithreaded contextsThiago Macieira2009-07-021-0/+7
|
* Update license headers as requested by the marketing department.Jason McDonald2009-06-161-2/+2
| | | | Reviewed-by: Trust Me
* Long live Qt 4.5!Lars Knoll2009-03-231-0/+1045