mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
724b355e99
keeping KPassivePopup as fallback in case the D-Bus invocation fails. The invocation code is a heavily simplified version of dimsuz's code in NotifyByPopup of KNotify, therefore his copyright instead of mine. Ok to backport to 4.2, or rather not? svn path=/trunk/KDE/kdebase/apps/; revision=913253
21 lines
734 B
CMake
21 lines
734 B
CMake
set(kdialog_SRCS
|
|
kdialog.cpp
|
|
widgets.cpp
|
|
klistboxdialog.cpp
|
|
progressdialog.cpp)
|
|
|
|
qt4_add_dbus_adaptor( kdialog_SRCS org.kde.kdialog.ProgressDialog.xml progressdialog.h KProgressDialog )
|
|
|
|
kde4_add_executable(kdialog ${kdialog_SRCS})
|
|
|
|
# Need libkfile due to the code that adjusts the geometry of the KDirSelectDialog
|
|
target_link_libraries(kdialog ${KDE4_KFILE_LIBS} ${KDE4_KIO_LIBS})
|
|
if (Q_WS_X11)
|
|
target_link_libraries(kdialog ${X11_X11_LIB})
|
|
if (QT_QTDBUS_FOUND)
|
|
target_link_libraries(kdialog ${QT_QTDBUS_LIBRARY})
|
|
endif (QT_QTDBUS_FOUND)
|
|
endif (Q_WS_X11)
|
|
|
|
install(TARGETS kdialog ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
install(FILES org.kde.kdialog.ProgressDialog.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )
|