akonadi
20#ifndef AKONADI_STATISTICSPROXYMODEL_H
21#define AKONADI_STATISTICSPROXYMODEL_H
23#include "akonadi_export.h"
25#include <QSortFilterProxyModel>
71 void setToolTipEnabled(
bool enable);
76 bool isToolTipEnabled()
const;
81 void setExtraColumnsEnabled(
bool enable);
86 bool isExtraColumnsEnabled()
const;
88 virtual QModelIndex index(
int row,
int column,
const QModelIndex &parent = QModelIndex())
const;
89 virtual QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
90 virtual QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
91 virtual Qt::ItemFlags flags(
const QModelIndex &index)
const;
92 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const;
94 virtual QModelIndexList match(
const QModelIndex &start,
int role,
const QVariant &value,
int hits = 1,
95 Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith | Qt::MatchWrap))
const;
97 virtual void setSourceModel(QAbstractItemModel *sourceModel);
98 virtual void connectNotify(
const char *signal);
105 Q_PRIVATE_SLOT(d,
void proxyDataChanged(QModelIndex, QModelIndex))
106 Q_PRIVATE_SLOT(d,
void sourceLayoutAboutToBeChanged())
107 Q_PRIVATE_SLOT(d,
void sourceLayoutChanged())
A proxy model that exposes collection statistics through extra columns.
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.