27 void setStoreOnChange(
bool storeOnChange);
28 void resetAllFilter();
30 void setFilterHidden(
bool filter);
31 bool filterHidden()
const;
32 int interfacesHidden();
33 void toggleFilterHidden();
35 void setSortByActivity(
bool sort);
36 bool sortByActivity()
const;
38#ifdef HAVE_PCAP_REMOTE
39 void setRemoteDisplay(
bool remoteDisplay);
41 void toggleRemoteDisplay();
42 bool remoteInterfacesExist();
45 void setInterfaceTypeVisible(
int ifType,
bool visible);
46 bool isInterfaceTypeShown(
int ifType)
const;
47 void setFilterByType(
bool filter,
bool invert =
false);
48 bool filterByType()
const;
49 void toggleTypeVisibility(
int ifType);
51 QList<int> typesDisplayed();
53 void setColumns(QList<InterfaceTreeColumns> columns);
54 int mapSourceToColumn(InterfaceTreeColumns mdlIndex);
56 QModelIndex mapToSource(
const QModelIndex &proxyIndex)
const;
57 QModelIndex mapFromSource(
const QModelIndex &sourceIndex)
const;
59 QString interfaceError();
62 bool filterAcceptsRow(
int source_row,
const QModelIndex & source_parent)
const;
63 bool filterAcceptsColumn(
int source_column,
const QModelIndex & source_parent)
const;
64 bool lessThan(
const QModelIndex &source_left,
const QModelIndex &source_right)
const;
69 bool _invertTypeFilter;
73#ifdef HAVE_PCAP_REMOTE
77 QList<int> displayHiddenTypes;
79 QList<InterfaceTreeColumns> _columns;
82 void resetPreferenceData();