77 UIntEntry(
const char* t, uint32_t k,
const char* pref_suffix) :
78 table(t), key(k), pref_name(t) { pref_name.append(pref_suffix); }
90 Qt::ItemFlags flags(
const QModelIndex &index)
const;
91 QVariant data(
const QModelIndex &index,
int role)
const;
92 QVariant headerData(
int section, Qt::Orientation orientation,
93 int role = Qt::DisplayRole)
const;
94 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
95 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
97 bool setData(
const QModelIndex &index,
const QVariant &value,
int role = Qt::EditRole);
102 bool insertRows(
int row,
int count,
const QModelIndex &parent = QModelIndex());
103 bool removeRows(
int row,
int count,
const QModelIndex &parent = QModelIndex());
105 bool copyRow(
int dst_row,
int src_row);
106 bool copyFromProfile(QString filename,
const char **err);
108 static QString entryString(
const char *table_name,
const void *value);
113 static void buildChangedList(
const char *table_name, ftenum_t selector_type,
114 void *key,
void *value,
void *user_data);
115 static void buildDceRpcChangedList(
void *data,
void *user_data);
116 static void gatherChangedEntries(
const char *table_name, ftenum_t selector_type,
117 void *key,
void *value,
void *user_data);
119 void *user_data,
bool);
123 QList<DecodeAsItem *> decode_as_items_;
124 QList<UIntEntry> changed_uint_entries_;
125 QList<QPair<const char *, const char *> > changed_string_entries_;
Definition decode_as_model.h:72