#ifndef DESKTOPFILE_H #define DESKTOPFILE_H #include 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 getDesktopFiles(const QList& desktopFileDirs); }; #endif // DESKTOPFILE_H