Inital commit
This commit is contained in:
26
desktopfile.h
Normal file
26
desktopfile.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef DESKTOPFILE_H
|
||||
#define DESKTOPFILE_H
|
||||
|
||||
#include<QString>
|
||||
|
||||
class DesktopFile
|
||||
{
|
||||
public:
|
||||
|
||||
QString name;
|
||||
QString command;
|
||||
QString execName;
|
||||
QString iconPath;
|
||||
|
||||
bool stop = false;
|
||||
|
||||
public:
|
||||
DesktopFile(const QString& fileName);
|
||||
DesktopFile(){}
|
||||
bool open(const QString& fileName);
|
||||
bool operator==(const DesktopFile& in);
|
||||
|
||||
static QList<DesktopFile> getDesktopFiles(const QList<QByteArray>& desktopFileDirs);
|
||||
};
|
||||
|
||||
#endif // DESKTOPFILE_H
|
Reference in New Issue
Block a user