akonadi
20#ifndef AKONADI_AGENTTYPEMODEL_H
21#define AKONADI_AGENTTYPEMODEL_H
23#include "akonadi_export.h"
25#include <QtCore/QAbstractItemModel>
59 TypeRole = Qt::UserRole + 1,
64 UserRole = Qt::UserRole + 42
77 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const;
78 virtual int rowCount(
const QModelIndex &parent = QModelIndex())
const;
79 virtual QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
80 virtual QModelIndex index(
int row,
int column,
const QModelIndex &parent = QModelIndex())
const;
81 virtual QModelIndex parent(
const QModelIndex &index)
const;
82 virtual Qt::ItemFlags flags(
const QModelIndex &index)
const;
Provides a data model for agent types.
Roles
Describes the roles of this model.
@ MimeTypesRole
A list of supported mimetypes.
@ IdentifierRole
The identifier of the agent type.
@ DescriptionRole
A description of the agent type.
@ CapabilitiesRole
A list of supported capabilities.
A representation of an agent type.
FreeBusyManager::Singleton.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by
doxygen 1.9.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.