kdecore: move KDesktopFile methods documentation to its header

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-31 23:31:25 +02:00
parent e15725a9f2
commit b9a6e62891
2 changed files with 7 additions and 13 deletions

View file

@ -249,19 +249,7 @@ bool KDesktopFile::tryExec() const
return true;
}
/**
* @return the filename as passed to the constructor.
*/
//QString KDesktopFile::fileName() const { return backEnd->fileName(); }
/**
* @return the resource type as passed to the constructor.
*/
//QString
//KDesktopFile::resource() const { return backEnd->resource(); }
QStringList
KDesktopFile::sortOrder() const
QStringList KDesktopFile::sortOrder() const
{
Q_D(const KDesktopFile);
return d->desktopGroup.readEntry("SortOrder", QStringList());

View file

@ -230,8 +230,14 @@ public:
*/
KDesktopFile* copyTo(const QString &file) const;
/**
* @return the filename as passed to the constructor.
*/
QString fileName() const;
/**
* @return the resource type as passed to the constructor.
*/
const char *resource() const;
private: