1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02: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) find_package(Qt5LinguistTools REQUIRED)
if( UNIX AND NOT APPLE ) if( UNIX AND NOT APPLE )
macro(qt_add_dbus_interface)
qt5_add_dbus_interface(${ARGN})
endmacro()
macro(qt_add_dbus_adaptor) macro(qt_add_dbus_adaptor)
qt5_add_dbus_adaptor(${ARGN}) qt5_add_dbus_adaptor(${ARGN})
endmacro() endmacro()

View File

@@ -3,7 +3,7 @@ SET(fdo_srcs
fdonotify/ImageConverter.cpp fdonotify/ImageConverter.cpp
) )
SET(FDO_LINK_LIBRARIES ${LINK_LIBRARIES}) 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) FreedesktopNotificationsProxy)
tomahawk_add_plugin(fdonotify tomahawk_add_plugin(fdonotify

View File

@@ -6,12 +6,12 @@ FOREACH( _file ${_icons} )
ENDFOREACH( _file ) ENDFOREACH( _file )
IF( WITH_UPOWER ) 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 ) SET( tomahawkSources ${tomahawkSources} linux/UPowerHandler.cpp )
ENDIF( WITH_UPOWER ) ENDIF( WITH_UPOWER )
IF( WITH_GNOMESHORTCUTHANDLER ) 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 ) SET( tomahawkSources ${tomahawkSources} linux/GnomeShortcutHandler.cpp )
ENDIF( WITH_GNOMESHORTCUTHANDLER ) ENDIF( WITH_GNOMESHORTCUTHANDLER )