| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Slots | Public Member Functions | List of all members
ImportTextDialog Class Reference

A dialog for importing packets from a text file (hex dump or regex formats). More...

`#include <import_text_dialog.h>`

Inheritance diagram for ImportTextDialog:

## Public Slots
int | exec () override
| Shows the dialog as a modal window, blocking until the user closes it.

## Public Member Functions
| ImportTextDialog (QWidget *parent=0)
| Constructs a new ImportTextDialog.
| ~ImportTextDialog ()
| Destroys the ImportTextDialog.
QString & | capfileName ()
| Retrieves the generated capture file name resulting from the import.

## Detailed Description

A dialog for importing packets from a text file (hex dump or regex formats).

## Constructor & Destructor Documentation

## ◆ ImportTextDialog()

ImportTextDialog::ImportTextDialog | ( | QWidget * | parent = 0 | ) |
| explicit

Constructs a new ImportTextDialog.

Parameters

  parent | The parent widget, defaults to 0.

## Member Function Documentation

## ◆ capfileName()

QString & ImportTextDialog::capfileName | ( |  | ) |

Retrieves the generated capture file name resulting from the import.

Returns
  A reference to the capture file name string.

## ◆ exec

int ImportTextDialog::exec | ( |  | ) |
| override slot

Shows the dialog as a modal window, blocking until the user closes it.

Returns
  The dialog result (e.g., QDialog::Accepted or QDialog::Rejected).

The documentation for this class was generated from the following files:

- /builds/wireshark/wireshark/ui/qt/import_text_dialog.h
- /builds/wireshark/wireshark/ui/qt/import_text_dialog.cpp