diff options
author | David Edmundson <davidedmundson@kde.org> | 2014-11-21 14:54:33 +0100 |
---|---|---|
committer | David Edmundson <davidedmundson@kde.org> | 2015-01-05 12:29:14 +0100 |
commit | 54079de9f9968513a741eeceb2a24c2fd2ddbb96 (patch) | |
tree | e045615a3ff753506d91a9f021c4f000f9599271 /src/corelib/plugin/qfactoryloader.cpp | |
parent | aeceb5e383c2c2946dd09dc70136cb905481b924 (diff) |
Add annotation to rename methods created by qdbusxml2cpp
Under DBus it is possible to have methods and signals with the same name
or have methods which are reserved c++ keywords.
For example the logind session interface has a signal and method both
called Lock.
This patch allows generated methods to use a different method name
specified in the annotation that the original DBus name in the DBus
interface in a similar manner to how one can rename accessors.
[ChangeLog][QtDBus] Add annotation org.qtproject.QtDBus.MethodName to allow
autogenerating C++ methods with different names to the original DBus method
Change-Id: I08bbe77554fbdd348e93f82d45bab0d75d360c27
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/plugin/qfactoryloader.cpp')
0 files changed, 0 insertions, 0 deletions