Plasma-workspace
autostartscriptdesktopfile.cpp
14 return QDir(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation)).filePath(QStringLiteral("autostart"));
17AutostartScriptDesktopFile::AutostartScriptDesktopFile(const QString &name, const QString &execPath, const QString &iconName)
static bool isAutostartScript(const KDesktopFile &file)
Checks whether this KDesktopFile has X-KDE-AutostartScript=true.
Definition autostartscriptdesktopfile.cpp:28
static QDir autostartLocation()
The location of autostart .desktop application and script files ($XDG_CONFIG_HOME/autostart)
Definition autostartscriptdesktopfile.cpp:12
void writeEntry(const char *key, const char *value, WriteConfigFlags pFlags=Normal)
QString readEntry(const char *key, const char *aDefault=nullptr) const
QString name() const
KConfigGroup desktopGroup() const
QString filePath(const QString &fileName) const const
GenericConfigLocation
QString writableLocation(StandardLocation type)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.