11 #ifndef EXPORT_OBJECTS_MODEL_H 12 #define EXPORT_OBJECTS_MODEL_H 17 #include <epan/export_object.h> 19 #include <QAbstractTableModel> 20 #include <QSortFilterProxyModel> 34 enum ExportObjectColumn {
47 bool saveEntry(QModelIndex &index, QString filename);
48 bool saveAllEntries(QString path);
50 const char* getTapListenerName();
52 tap_packet_cb getTapPacketFunc();
53 static void resetTap(
void *tapdata);
56 QVariant data(
const QModelIndex &index,
int role)
const;
57 QVariant headerData(
int section, Qt::Orientation orientation,
58 int role = Qt::DisplayRole)
const;
59 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
60 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
63 QList<QVariant> objects_;
78 bool lessThan(
const QModelIndex &source_left,
const QModelIndex &source_right)
const;
81 #endif // EXPORT_OBJECTS_MODEL_H Definition: export_object.c:19
Definition: export_objects_model.h:70
Definition: export_object.h:21
Definition: export_objects_model.h:23
Definition: export_object.h:43
Definition: export_objects_model.h:27