Commit b9e2ae69 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port kauth apps

parent 003e7810
......@@ -178,9 +178,9 @@ install(PROGRAMS kalarm-version.pl kalarm-1.2.1-general.pl kalarm-1.9.5-defaults
########### KAuth helper ###############
#REACTIVATE IT
#add_executable(kalarm_helper rtcwakeaction.cpp)
#target_link_libraries(kalarm_helper KF5::Auth KF5::KDELibs4Support)
#install(TARGETS kalarm_helper DESTINATION ${LIBEXEC_INSTALL_DIR})
#kde4_install_auth_helper_files(kalarm_helper org.kde.kalarmrtcwake root)
add_executable(kalarm_helper rtcwakeaction.cpp)
target_link_libraries(kalarm_helper KF5::Auth KF5::KDELibs4Support)
install(TARGETS kalarm_helper DESTINATION ${LIBEXEC_INSTALL_DIR})
kauth_install_helper_files(kalarm_helper org.kde.kalarmrtcwake root)
#PORT TO QT5
#kde4_install_auth_actions(org.kde.kalarmrtcwake rtcwakeaction.actions)
kauth_install_actions(org.kde.kalarmrtcwake rtcwakeaction.actions)
......@@ -105,6 +105,6 @@ ActionReply RtcWakeAction::settimer(const QVariantMap& args)
#endif
}
//QT5 KDE4_AUTH_HELPER_MAIN("org.kde.kalarmrtcwake", RtcWakeAction)
KAUTH_HELPER_MAIN("org.kde.kalarmrtcwake", RtcWakeAction)
// vim: et sw=4:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment