1
project(StatusNotifierWatcher)
3
set(kded_statusnotifierwatcher_SRCS statusnotifierwatcher.cpp )
5
QT4_ADD_DBUS_ADAPTOR(kded_statusnotifierwatcher_SRCS ${KDE4_DBUS_INTERFACES_DIR}/org.kde.StatusNotifierWatcher.xml
6
statusnotifierwatcher.h StatusNotifierWatcher)
9
set(statusnotifieritem_xml ${KDE4_DBUS_INTERFACES_DIR}/org.kde.StatusNotifierItem.xml)
10
set_source_files_properties(${statusnotifieritem_xml} PROPERTIES
12
INCLUDE "systemtraytypedefs.h"
13
CLASSNAME OrgKdeStatusNotifierItemInterface
15
QT4_ADD_DBUS_INTERFACE(kded_statusnotifierwatcher_SRCS ${statusnotifieritem_xml} statusnotifieritem_interface)
17
kde4_add_plugin(kded_statusnotifierwatcher ${kded_statusnotifierwatcher_SRCS})
20
target_link_libraries(kded_statusnotifierwatcher ${KDE4_KIO_LIBS} )
22
install(TARGETS kded_statusnotifierwatcher DESTINATION ${PLUGIN_INSTALL_DIR})
25
install( FILES statusnotifierwatcher.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded)