diff options
author | Fabien Proriol <fabien.proriol@kazoe.org> | 2025-05-25 17:02:01 +0200 |
---|---|---|
committer | Fabien Proriol <fabien.proriol@kazoe.org> | 2025-05-26 16:35:23 +0200 |
commit | 5f85571d52e9f82486a379d017eb36eda2a9f30e (patch) | |
tree | 3a2ef9cfea0bdbb4872be48f2eb010d730937a90 /src/lib/xdgautostart.cpp | |
parent | 1dbc0e3c88ba271ba35bc3f82e7864c4f35e1236 (diff) |
Change module to org.kazoe.xdg
Diffstat (limited to 'src/lib/xdgautostart.cpp')
-rw-r--r-- | src/lib/xdgautostart.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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())) { |