Commit 0f77a2bf authored by David Jarvie's avatar David Jarvie

Remove KDE4Support, standardise kauth naming

parent d36ae107
......@@ -176,7 +176,7 @@ install(FILES org.kde.kalarm.kalarm.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACED
########### KAuth helper ###############
add_executable(kalarm_helper rtcwakeaction.cpp ${libkalarm_common_SRCS})
target_link_libraries(kalarm_helper KF5::Auth KF5::KDELibs4Support)
target_link_libraries(kalarm_helper KF5::Auth KF5::I18n)
install(TARGETS kalarm_helper DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
kauth_install_helper_files(kalarm_helper org.kde.kalarmrtcwake root)
kauth_install_actions(org.kde.kalarmrtcwake rtcwakeaction.actions)
kauth_install_helper_files(kalarm_helper org.kde.kalarm.rtcwake root)
kauth_install_actions(org.kde.kalarm.rtcwake org.kde.kalarm.rtcwake.actions)
......@@ -1068,8 +1068,8 @@ bool setRtcWakeTime(unsigned triggerTime, QWidget* parent)
{
QVariantMap args;
args[QLatin1String("time")] = triggerTime;
KAuth::Action action(QStringLiteral("org.kde.kalarmrtcwake.settimer"));
action.setHelperId(QStringLiteral("org.kde.kalarmrtcwake"));
KAuth::Action action(QStringLiteral("org.kde.kalarm.rtcwake.settimer"));
action.setHelperId(QStringLiteral("org.kde.kalarm.rtcwake"));
action.setParentWidget(parent);
action.setArguments(args);
KAuth::ExecuteJob* job = action.execute();
......
......@@ -72,7 +72,7 @@ Name[zh_CN]=KAlarm
Name[zh_TW]=KAlarm 鬧鐘
Icon=kalarm
[org.kde.kalarmrtcwake.settimer]
[org.kde.kalarm.rtcwake.settimer]
Name=Set RTC wakeup time
Name[ar]=اضبط وقت استيقاظ RTC
Name[bs]=Postavlja vrijeme buđenja sata realnog vremena
......
......@@ -20,7 +20,6 @@
#include "rtcwakeaction.h"
#include <kglobal.h>
#include <KLocalizedString>
#include <kauthactionreply.h>
#include "kalarm_debug.h"
......@@ -102,6 +101,6 @@ ActionReply RtcWakeAction::settimer(const QVariantMap& args)
return reply;
}
KAUTH_HELPER_MAIN("org.kde.kalarmrtcwake", RtcWakeAction)
KAUTH_HELPER_MAIN("org.kde.kalarm.rtcwake", 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