mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
ksmserver: use qt4_generate_dbus_interface() macro to generate D-Bus interface
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
7c28223e9a
commit
9309e637bf
2 changed files with 3 additions and 5 deletions
|
@ -36,11 +36,10 @@ if (HAVE_MMMX)
|
|||
SET_SOURCE_FILES_PROPERTIES(fadeeffect.cpp PROPERTIES COMPILE_FLAGS -mmmx)
|
||||
endif (HAVE_MMMX)
|
||||
|
||||
set(kcminit_adaptor ${CMAKE_CURRENT_SOURCE_DIR}/../kcminit/main.h)
|
||||
set(kcminit_adaptor ${CMAKE_SOURCE_DIR}/kcminit/main.h)
|
||||
set(kcminit_xml ${CMAKE_CURRENT_BINARY_DIR}/org.kde.KCMinit.xml)
|
||||
add_custom_command(OUTPUT ${kcminit_xml}
|
||||
COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${kcminit_adaptor} > ${kcminit_xml}
|
||||
DEPENDS ${kcminit_adaptor})
|
||||
qt4_generate_dbus_interface(${kcminit_adaptor} ${kcminit_xml})
|
||||
|
||||
qt4_add_dbus_interface( ksmserver_SRCS ${kcminit_xml} kcminit_interface )
|
||||
|
||||
# This is actually now disabled, because OrgKDEKlauncherInterface is also provided
|
||||
|
|
|
@ -70,7 +70,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <QtGui/qx11info_x11.h>
|
||||
|
||||
//#include "kdesktop_interface.h"
|
||||
#include <klauncher_iface.h>
|
||||
#include "kcminit_interface.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue