2016-03-17 19:46:40 +11:00
|
|
|
#ifndef APP_H
|
|
|
|
#define APP_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QIcon>
|
|
|
|
|
2016-07-18 16:57:59 +10:00
|
|
|
class App
|
2016-03-17 19:46:40 +11:00
|
|
|
{
|
2016-07-18 16:57:59 +10:00
|
|
|
|
2016-03-17 19:46:40 +11:00
|
|
|
public:
|
2016-07-18 16:57:59 +10:00
|
|
|
explicit App();
|
2016-03-17 19:46:40 +11:00
|
|
|
|
|
|
|
QString name();
|
|
|
|
void setName(QString name);
|
|
|
|
|
|
|
|
QIcon icon();
|
|
|
|
void setIcon(QIcon icon);
|
|
|
|
|
|
|
|
QString command();
|
|
|
|
void setCommand(QString command);
|
|
|
|
|
|
|
|
QString description();
|
|
|
|
void setDescription(QString desc);
|
|
|
|
signals:
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
private:
|
|
|
|
QString appname;
|
|
|
|
QIcon appicon;
|
|
|
|
QString appcommand;
|
|
|
|
QString appdesc = "";
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // APP_H
|