kalarm
#include <eventlistmodel.h>
|
| enum | {
TimeColumn,
TimeToColumn,
RepeatColumn,
ColourColumn,
TypeColumn,
TextColumn,
TemplateNameColumn,
ColumnCount
} |
| |
| enum | { StatusRole = Qt::UserRole,
ValueRole,
SortRole,
EnabledRole
} |
| |
|
| | ~EventListModel () |
| |
| void | addEvent (KAEvent *) |
| |
| void | addEvents (const KAEvent::List &) |
| |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| |
| virtual QVariant | data (const QModelIndex &, int role=Qt::DisplayRole) const |
| |
| KAEvent * | event (int row) const |
| |
| QModelIndex | eventIndex (const KAEvent *) const |
| |
| QModelIndex | eventIndex (const QString &eventId) const |
| |
| virtual Qt::ItemFlags | flags (const QModelIndex &) const |
| |
| bool | haveEvents () const |
| |
| virtual QVariant | headerData (int section, Qt::Orientation, int role=Qt::DisplayRole) const |
| |
| virtual QModelIndex | index (int row, int column=0, const QModelIndex &parent=QModelIndex()) const |
| |
| void | removeEvent (const KAEvent *event) |
| |
| void | removeEvent (const QString &eventId) |
| |
| void | removeResource (AlarmResource *) |
| |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| |
| virtual bool | setData (const QModelIndex &, const QVariant &value, int role=Qt::EditRole) |
| |
| void | updateCommandError (const QString &eventId) |
| |
| bool | updateEvent (KAEvent *event) |
| |
| bool | updateEvent (const QString &eventId) |
| |
| bool | updateEvent (const QString &oldId, KAEvent *newEvent) |
| |
Definition at line 42 of file eventlistmodel.h.
| Enumerator |
|---|
| TimeColumn |
|
| TimeToColumn |
|
| RepeatColumn |
|
| ColourColumn |
|
| TypeColumn |
|
| TextColumn |
|
| TemplateNameColumn |
|
| ColumnCount |
|
Definition at line 46 of file eventlistmodel.h.
| Enumerator |
|---|
| StatusRole |
|
| ValueRole |
|
| SortRole |
|
| EnabledRole |
|
Definition at line 51 of file eventlistmodel.h.
| EventListModel::~EventListModel |
( |
| ) |
|
| void EventListModel::addEvent |
( |
KAEvent * |
event | ) |
|
| void EventListModel::addEvents |
( |
const KAEvent::List & |
events | ) |
|
| int EventListModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
| QVariant EventListModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
virtual |
| KAEvent * EventListModel::event |
( |
int |
row | ) |
const |
| KAEvent * EventListModel::event |
( |
const QModelIndex & |
index | ) |
|
|
static |
| QModelIndex EventListModel::eventIndex |
( |
const KAEvent * |
event | ) |
const |
| QModelIndex EventListModel::eventIndex |
( |
const QString & |
eventId | ) |
const |
| Qt::ItemFlags EventListModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
virtual |
| bool EventListModel::haveEvents |
( |
| ) |
const |
|
inline |
| void EventListModel::haveEventsStatus |
( |
bool |
have | ) |
|
|
signal |
| QVariant EventListModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
virtual |
| static int EventListModel::iconWidth |
( |
| ) |
|
|
inlinestatic |
| QModelIndex EventListModel::index |
( |
int |
row, |
|
|
int |
column = 0, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
virtual |
| void EventListModel::reload |
( |
| ) |
|
|
slot |
| void EventListModel::removeEvent |
( |
const KAEvent * |
event | ) |
|
|
inline |
| void EventListModel::removeEvent |
( |
const QString & |
eventId | ) |
|
|
inline |
| void EventListModel::removeResource |
( |
AlarmResource * |
resource | ) |
|
| void EventListModel::resourceStatusChanged |
( |
AlarmResource * |
resource, |
|
|
AlarmResources::Change |
change |
|
) |
| |
|
static |
| int EventListModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
| bool EventListModel::setData |
( |
const QModelIndex & |
ix, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
virtual |
| void EventListModel::updateCommandError |
( |
const QString & |
eventId | ) |
|
| bool EventListModel::updateEvent |
( |
KAEvent * |
event | ) |
|
|
inline |
| bool EventListModel::updateEvent |
( |
const QString & |
eventId | ) |
|
|
inline |
| bool EventListModel::updateEvent |
( |
const QString & |
oldId, |
|
|
KAEvent * |
newEvent |
|
) |
| |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:11 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.