10 #ifndef VOIP_CALLS_INFO_MODEL_H
11 #define VOIP_CALLS_INFO_MODEL_H
19 #include <QAbstractTableModel>
20 #include <QSortFilterProxyModel>
28 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
29 QVariant headerData(
int section, Qt::Orientation orientation,
30 int role = Qt::DisplayRole)
const;
31 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
32 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
33 void setTimeOfDay(
bool timeOfDay);
34 bool timeOfDay()
const;
35 void updateCalls(GQueue *callsinfos);
36 void removeAllCalls();
56 QList<void *> callinfos_;
68 bool lessThan(
const QModelIndex &source_left,
const QModelIndex &source_right)
const;
Definition: voip_calls_info_model.h:23
Definition: voip_calls_info_model.h:63
Definition: voip_calls.h:144