C

AppItem Class

class QtAndroidAppsUtils::AppItem

A basic Android app element. More...

Header: #include <AppItem>
qmake: QT += androidappsutils
Inherits: QObject

Public Functions

AppItem(const QString packageName, const QString appName, const QImage appIcon, QObject *parent = nullptr)
QImage appIcon() const
const QString appIconString() const
QString appName() const
QString packageName() const

Detailed Description

Member Function Documentation

AppItem::AppItem(const QString packageName, const QString appName, const QImage appIcon, QObject *parent = nullptr)

Creates an Android app element with the package name packageName, human readable name appName, and an icon appIcon. The parent argument takes an optional QObject.

QImage AppItem::appIcon() const

Returns the app icon as a QImage.

const QString AppItem::appIconString() const

Returns the app icon as a QString.

Note: Getter function for property appIcon.

QString AppItem::appName() const

Returns the human readable app name.

Note: Getter function for property appName.

QString AppItem::packageName() const

Returns the app package name.

Note: Getter function for property packageName.

Available under certain Qt licenses.
Find out more.