C

AppItem Class

class QtAndroidAppsUtils::AppItem

A basic Android app element. More...

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

Properties

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

Property Documentation

[read-only] appIcon : const QString

Holds the app icon as a Uri encoded data QString.

Access functions:

const QString appIconString() const

[read-only] appName : const QString

Holds the human-readable app name.

Access functions:

QString appName() const

[read-only] packageName : const QString

Holds the name of the app's package.

Access functions:

QString packageName() const

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 Uri encoded data 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.