diff options
Diffstat (limited to 'launcher/src/appinfo.cpp')
-rw-r--r-- | launcher/src/appinfo.cpp | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/launcher/src/appinfo.cpp b/launcher/src/appinfo.cpp index 78c48ed..b669845 100644 --- a/launcher/src/appinfo.cpp +++ b/launcher/src/appinfo.cpp @@ -27,32 +27,18 @@ public: Private(const Private &other); QString id; - QString version; - int width; - int height; QString name; - QString description; - QString shortname; - QString author; QString iconPath; }; AppInfo::Private::Private() - : width(-1) - , height(-1) { } AppInfo::Private::Private(const Private &other) : QSharedData(other) , id(other.id) - , version(other.version) - , width(other.width) - , height(other.height) , name(other.name) - , description(other.description) - , shortname(other.shortname) - , author(other.author) , iconPath(other.iconPath) { } @@ -90,41 +76,11 @@ QString AppInfo::id() const return d->id; } -QString AppInfo::version() const -{ - return d->version; -} - -int AppInfo::width() const -{ - return d->width; -} - -int AppInfo::height() const -{ - return d->height; -} - QString AppInfo::name() const { return d->name; } -QString AppInfo::description() const -{ - return d->description; -} - -QString AppInfo::shortname() const -{ - return d->shortname; -} - -QString AppInfo::author() const -{ - return d->author; -} - QString AppInfo::iconPath() const { return d->iconPath; @@ -133,12 +89,6 @@ QString AppInfo::iconPath() const void AppInfo::read(const QJsonObject &json) { d->id = json["id"].toString(); - d->version = json["version"].toString(); - d->width = json["width"].toInt(); - d->height = json["height"].toInt(); d->name = json["name"].toString(); - d->description = json["description"].toString(); - d->shortname = json["shortname"].toString(); - d->author = json["author"].toString(); d->iconPath = json["iconPath"].toString(); } |