KNSCore::ProvidersModel Class

class KNSCore::ProvidersModel

A model which holds information on all known Providers for a specific Engine. More...

Header: #include <ProvidersModel>
CMake: find_package(KF6 REQUIRED COMPONENTS NewStuff)
target_link_libraries(mytarget PRIVATE KF6::NewStuff)
Since: 5.85
Inherits: QAbstractListModel

Public Types

enum Roles { IdRole, NameRole, VersionRole, WebsiteRole, HostRole, …, ObjectRole }

Detailed Description

Member Type Documentation

enum ProvidersModel::Roles

ConstantValueDescription
KNSCore::ProvidersModel::IdRoleQt::UserRole + 1 
KNSCore::ProvidersModel::NameRole258,
KNSCore::ProvidersModel::VersionRole259,
KNSCore::ProvidersModel::WebsiteRole260,
KNSCore::ProvidersModel::HostRole261,
KNSCore::ProvidersModel::ContactEmailRole262,
KNSCore::ProvidersModel::SupportsSslRole263,
KNSCore::ProvidersModel::IconRole264,
KNSCore::ProvidersModel::ObjectRole265The actual Provider object. Do not hold this locally and expect it to disappear at a moment's notice.