20#ifndef AKONADI_AGENTTYPEMODEL_H
21#define AKONADI_AGENTTYPEMODEL_H
23#include "akonadi_export.h"
25#include <QtCore/QAbstractItemModel>
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.
AgentTypeModel(QObject *parent=0)
Creates a new agent type model.
Roles
Describes the roles of this model.
@ MimeTypesRole
A list of supported mimetypes.
@ TypeRole
The agent type itself.
@ IdentifierRole
The identifier of the agent type.
@ DescriptionRole
A description of the agent type.
@ CapabilitiesRole
A list of supported capabilities.
@ UserRole
Role for user extensions.
A representation of an agent type.
FreeBusyManager::Singleton.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.