1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-16 22:08:17 +01:00

Remove obsolete qt_add_dbus_interface macro

This commit is contained in:
Andreas Sturmlechner 2018-07-07 22:43:52 +02:00 committed by Dominik Schmidt
parent 4815dd78c1
commit 80d2fa48ec
3 changed files with 3 additions and 7 deletions

View File

@ -189,10 +189,6 @@ endif()
find_package(Qt5LinguistTools REQUIRED)
if( UNIX AND NOT APPLE )
macro(qt_add_dbus_interface)
qt5_add_dbus_interface(${ARGN})
endmacro()
macro(qt_add_dbus_adaptor)
qt5_add_dbus_adaptor(${ARGN})
endmacro()

View File

@ -3,7 +3,7 @@ SET(fdo_srcs
fdonotify/ImageConverter.cpp
)
SET(FDO_LINK_LIBRARIES ${LINK_LIBRARIES})
qt_add_dbus_interface(fdo_srcs fdonotify/org.freedesktop.Notifications.xml
qt5_add_dbus_interface(fdo_srcs fdonotify/org.freedesktop.Notifications.xml
FreedesktopNotificationsProxy)
tomahawk_add_plugin(fdonotify

View File

@ -6,12 +6,12 @@ FOREACH( _file ${_icons} )
ENDFOREACH( _file )
IF( WITH_UPOWER )
qt_add_dbus_interface(tomahawkSources "${CMAKE_CURRENT_SOURCE_DIR}/linux/org.freedesktop.UPower.xml" "UPowerProxy")
qt5_add_dbus_interface(tomahawkSources "${CMAKE_CURRENT_SOURCE_DIR}/linux/org.freedesktop.UPower.xml" "UPowerProxy")
SET( tomahawkSources ${tomahawkSources} linux/UPowerHandler.cpp )
ENDIF( WITH_UPOWER )
IF( WITH_GNOMESHORTCUTHANDLER )
qt_add_dbus_interface(tomahawkSources "${CMAKE_CURRENT_SOURCE_DIR}/linux/GnomeSettingsDaemonMediaKeys.xml" "GnomeSettingsDaemonMediaKeysProxy")
qt5_add_dbus_interface(tomahawkSources "${CMAKE_CURRENT_SOURCE_DIR}/linux/GnomeSettingsDaemonMediaKeys.xml" "GnomeSettingsDaemonMediaKeysProxy")
SET( tomahawkSources ${tomahawkSources} linux/GnomeShortcutHandler.cpp )
ENDIF( WITH_GNOMESHORTCUTHANDLER )