akonadi
20#ifndef AKONADI_AGENTINSTANCEMODEL_H
21#define AKONADI_AGENTINSTANCEMODEL_H
23#include "akonadi_export.h"
25#include <QtCore/QAbstractItemModel>
59 TypeRole = Qt::UserRole + 1,
70 UserRole = Qt::UserRole + 42
85 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const;
86 virtual int rowCount(
const QModelIndex &parent = QModelIndex())
const;
87 virtual QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
88 virtual QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
89 virtual QModelIndex index(
int row,
int column,
const QModelIndex &parent = QModelIndex())
const;
90 virtual QModelIndex parent(
const QModelIndex &index)
const;
91 virtual Qt::ItemFlags flags(
const QModelIndex &index)
const;
92 virtual bool setData(
const QModelIndex &index,
const QVariant &value,
int role);
Provides a data model for agent instances.
Roles
Describes the roles of this model.
@ StatusMessageRole
A textual presentation of the current status.
@ OnlineRole
The current online/offline status.
@ StatusRole
The current status (numerical) of the instance.
@ MimeTypesRole
A list of supported mimetypes.
@ InstanceRole
The agent instance itself.
@ DescriptionRole
A description of the agent type.
@ InstanceIdentifierRole
The identifier of the agent instance.
@ TypeIdentifierRole
The identifier of the agent type.
@ CapabilitiesRole
A list of supported capabilities.
@ ProgressRole
The current progress (numerical in percent) of an operation.
A representation of an agent instance.
FreeBusyManager::Singleton.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.