mailcommon
filtermodel.cpp
Go to the documentation of this file.
void setFilters(const QList< MailCommon::MailFilter * > &filters)
Replace the list of filters of the filter manager with the given list of filters. ...
Definition: filtermanager.cpp:248
void moveRow(int sourceRow, int destinationRow)
Definition: filtermodel.cpp:47
const T & at(int i) const
void move(int from, int to)
int size() const
const char * name() const
void reset()
void append(const T &value)
void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
void endInsertRows()
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
void beginRemoveRows(const QModelIndex &parent, int first, int last)
int row() const
void appendFilters(const QList< MailCommon::MailFilter * > &filters, bool replaceIfNameExists=false)
Manage filters interface.
Definition: filtermanager.cpp:261
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: filtermodel.cpp:33
static FilterManager * instance()
Returns the global filter manager object.
Definition: filtermanager.cpp:98
void beginInsertRows(const QModelIndex &parent, int first, int last)
virtual bool insertRows(int row, int count, const QModelIndex &parent=QModelIndex())
Definition: filtermodel.cpp:73
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: filtermodel.cpp:42
QList< MailCommon::MailFilter * > filters() const
Returns the filter list of the manager.
Definition: filtermanager.cpp:256
virtual bool removeRows(int row, int count, const QModelIndex &parent=QModelIndex())
Definition: filtermodel.cpp:85
void endRemoveRows()
void removeFilter(MailCommon::MailFilter *filter)
Removes the given filter from the list.
Definition: filtermanager.cpp:282
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: mailfilter.h:42
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.