KDECore
Go to the documentation of this file.
19 #ifndef KDESKTOPFILE_H
20 #define KDESKTOPFILE_H
25 class KDesktopFilePrivate;
53 explicit KDesktopFile(
const char *resourceType,
const QString &fileName);
82 static bool isDesktopFile(
const QString& path);
99 static bool isAuthorizedDesktopFile(
const QString& path);
105 static QString locateLocal(
const QString &path);
113 QString readType()
const;
119 QString readIcon()
const;
125 QString readName()
const;
131 QString readComment()
const;
137 QString readGenericName()
const;
143 QString readPath()
const;
149 QString readDevice()
const;
155 QString readUrl()
const;
161 QStringList readActions()
const;
176 bool hasActionGroup(
const QString &
group)
const;
184 bool hasLinkType()
const;
190 bool hasApplicationType()
const;
196 bool hasMimeTypeType()
const;
202 bool hasDeviceType()
const;
209 bool tryExec()
const;
215 QString readDocPath()
const;
221 QStringList sortOrder()
const;
229 bool noDisplay()
const;
242 QString fileName()
const;
244 const char *resource()
const;
A class for one specific group in a KConfig object.
The central class of the KDE configuration data system.
KConfig * copyTo(const QString &file, KConfig *config=0) const
Copies all entries from this config object to a new config object that will save itself to file.
KDE Desktop File Management.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 00:00:00 by
doxygen 1.9.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.