C

AppsList Class

class QtAndroidAppsUtils::AppsList

An Android app list of AppItem elements. More...

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

Public Functions

AppsList(QObject *parent = nullptr)
QList<QSharedPointer<QtAndroidAppsUtils::AppItem> > appList() const
void appendApp(QtAndroidAppsUtils::AppItem *app)
void removeApp(int index)

Detailed Description

Member Function Documentation

AppsList::AppsList(QObject *parent = nullptr)

Creates a list instance for app elements, with an optional parent QObject.

QList<QSharedPointer<QtAndroidAppsUtils::AppItem> > AppsList::appList() const

Returns the current apps list.

void AppsList::appendApp(QtAndroidAppsUtils::AppItem *app)

Appends an AppItem pointer app (ownership transferred to the AppsList) to the list of apps.

void AppsList::removeApp(int index)

Removes the app at the index number from the apps list.

Available under certain Qt licenses.
Find out more.