| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Classes | Functions
pref_models.h File Reference
`#include <config.h>`
`#include <ui/qt/models/tree_model_helpers.h>`
`#include <epan/prefs.h>`
`#include <QSortFilterProxyModel>`
`#include <QTreeView>`

Go to the source code of this file.

## Classes
class | PrefsModel
| Tree model backing the Preferences dialog. More...
class | PrefsItem
| A single node in the PrefsModel tree. More...
class | AdvancedPrefsModel
| Sort/filter proxy model for the Advanced Preferences pane. More...
class | ModulePrefsModel
| Sort/filter proxy model for the module (left-hand) pane of the Preferences dialog. More...

## Functions
pref_t * | prefFromPrefPtr (void *pref_ptr)
| Retrieves the preference structure associated with a given preference pointer.

## Detailed Description

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

## Function Documentation

## ◆ prefFromPrefPtr()

pref_t * prefFromPrefPtr | ( | void * | pref_ptr | ) |
| extern

Retrieves the preference structure associated with a given preference pointer.

Parameters

  pref_ptr | The pointer to the preference.

Returns
  A pointer to the preference structure, or NULL if not found.