X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=launcher%2Fsrc%2Fappinfo.h;h=1d1953d78dd8c2512d2be6d7d2ec92bc1abac81e;hb=20cd96660d4bfb44e0be5695f71a92d5fb53a143;hp=052c5dfc8caac819e497698c7f24c613ca6c32f4;hpb=cde1f8b32286b263040cd1d9360f4b8835699505;p=apps%2Flauncher.git diff --git a/launcher/src/appinfo.h b/launcher/src/appinfo.h index 052c5df..1d1953d 100644 --- a/launcher/src/appinfo.h +++ b/launcher/src/appinfo.h @@ -19,20 +19,14 @@ #ifndef APPINFO_H #define APPINFO_H +#include #include -#include class AppInfo { Q_GADGET Q_PROPERTY(QString id READ id) - Q_PROPERTY(QString version READ version) - Q_PROPERTY(int width READ width) - Q_PROPERTY(int height READ height) Q_PROPERTY(QString name READ name) - Q_PROPERTY(QString description READ description) - Q_PROPERTY(QString shortname READ shortname) - Q_PROPERTY(QString author READ author) Q_PROPERTY(QString iconPath READ iconPath) public: AppInfo(); @@ -43,20 +37,11 @@ public: void swap(AppInfo &other) { qSwap(d, other.d); } QString id() const; - QString version() const; - int width() const; - int height() const; QString name() const; - QString description() const; - QString shortname() const; - QString author() const; QString iconPath() const; void read(const QJsonObject &json); - friend QDBusArgument &operator <<(QDBusArgument &argument, const AppInfo &appInfo); - friend const QDBusArgument &operator >>(const QDBusArgument &argument, AppInfo &appInfo); - private: class Private; QSharedDataPointer d;