From 5f85571d52e9f82486a379d017eb36eda2a9f30e Mon Sep 17 00:00:00 2001 From: Fabien Proriol Date: Sun, 25 May 2025 17:02:01 +0200 Subject: Change module to org.kazoe.xdg --- src/lib/xdgautostart.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/xdgautostart.cpp') diff --git a/src/lib/xdgautostart.cpp b/src/lib/xdgautostart.cpp index bd71261..b78fe53 100644 --- a/src/lib/xdgautostart.cpp +++ b/src/lib/xdgautostart.cpp @@ -3,22 +3,22 @@ #include "xdgentry.h" #include "debug.h" -xdg::AutoStart::AutoStart(QObject *parent) +KaZoe::AutoStart::AutoStart(QObject *parent) : QObject{parent} { qCDebug(AUTO_START) << "Create Auto start"; - QStringList configdirs = xdg::configDirs(); + QStringList configdirs = KaZoe::configDirs(); for (auto dir = configdirs.rbegin(); dir != configdirs.rend(); ++dir) { m_entries.addDirectory(*dir + "/autostart"); } - m_entries.addDirectory(xdg::configHome() + "/autostart"); + m_entries.addDirectory(KaZoe::configHome() + "/autostart"); } -void xdg::AutoStart::start(QString key, QString value) +void KaZoe::AutoStart::start(QString key, QString value) { qCDebug(AUTO_START) << "Start " << key << value; - for(xdg::Entry *entry: m_entries.getEntries()) + for(KaZoe::Entry *entry: m_entries.getEntries()) { if((!value.isNull()) && (!key.isNull())) { -- cgit v1.2.3