824eac228e
Use a designer file for it Make sure the focus is on the reply widget Disable focus from the original text raise() the dialog when we show it to make sure it's over the other windows
20 lines
559 B
CMake
20 lines
559 B
CMake
find_package(KF5 REQUIRED COMPONENTS Notifications KCMUtils I18n IconThemes Config)
|
|
|
|
set(kdeconnect_notifications_SRCS
|
|
notification.cpp
|
|
notificationsplugin.cpp
|
|
notificationsdbusinterface.cpp
|
|
sendreplydialog.cpp
|
|
)
|
|
|
|
ki18n_wrap_ui(kdeconnect_notifications_SRCS sendreplydialog.ui)
|
|
|
|
kdeconnect_add_plugin(kdeconnect_notifications JSON kdeconnect_notifications.json SOURCES ${kdeconnect_notifications_SRCS})
|
|
|
|
target_link_libraries(kdeconnect_notifications
|
|
kdeconnectcore
|
|
Qt5::DBus
|
|
KF5::Notifications
|
|
KF5::I18n
|
|
KF5::IconThemes
|
|
)
|