| Wireshark 4.7.3 The Wireshark network protocol analyzer

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

Dialog for shifting packet timestamps in the current capture file, supporting uniform shifts across all packets, single-anchor adjustments, and two-point linear interpolation, as well as a full timestamp reset. More...

`#include <time_shift_dialog.h>`

Inheritance diagram for TimeShiftDialog:

## Public Slots
void | setCaptureFile (capture_file *cf)
| Updates the capture file pointer when the active file changes.

## Signals
void | timeShifted ()
| Emitted after a time-shift operation has been successfully applied, so that other views can refresh their timestamp displays.

## Public Member Functions
| TimeShiftDialog (QWidget *parent=0, capture_file *cf=NULL)
| Constructs the Time Shift dialog.
| ~TimeShiftDialog ()
| Destroys the dialog and releases UI resources.

## Detailed Description

Dialog for shifting packet timestamps in the current capture file, supporting uniform shifts across all packets, single-anchor adjustments, and two-point linear interpolation, as well as a full timestamp reset.

## Constructor & Destructor Documentation

## ◆ TimeShiftDialog()

TimeShiftDialog::TimeShiftDialog | ( | QWidget * | parent = 0,
|  | capture_file * | cf = NULL )
| explicit

Constructs the Time Shift dialog.

Parameters

  parent | Optional parent widget.
  cf | Capture file whose timestamps will be modified; may be `NULL`.

## Member Function Documentation

## ◆ setCaptureFile

void TimeShiftDialog::setCaptureFile | ( | capture_file * | cf | ) |
| inline slot

Updates the capture file pointer when the active file changes.

Parameters

  cf | New capture file to operate on; may be `NULL`.

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

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