summaryrefslogtreecommitdiffstats
path: root/launcher/src/appinfo.cpp
diff options
context:
space:
mode:
authorArnaud Ferraris <arnaud.ferraris@collabora.com>2021-12-10 12:28:47 +0100
committerArnaud Ferraris <arnaud.ferraris@collabora.com>2021-12-10 12:30:39 +0100
commit20cd96660d4bfb44e0be5695f71a92d5fb53a143 (patch)
tree86d180545abb5a1c9251a7e9bae1495925bc97a0 /launcher/src/appinfo.cpp
parent200f62d3dd9a9032a5578fd993034d57014d0f09 (diff)
Remove dependency on old application framework and wayland
As the Application FW is being reworked, drop all related dependencies in order to start with a simpler initial implementation. This commit also drops wayland-related code as it won't be needed anymore with the new framework. Bug-AGL: SPEC-4159 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: Id268e1feee363c60b85411e822103259c1071a24
Diffstat (limited to 'launcher/src/appinfo.cpp')
-rw-r--r--launcher/src/appinfo.cpp50
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();
}