CaptureProcessOverlay::CaptureHistory
#include <captureprocessoverlay.h>
Public Member Functions | |
bool | addFrame (FrameData data) |
bool | backward () |
const FrameData | currentFrame () |
bool | deleteFrame (int pos) |
bool | forward () |
const FrameData | getFrame (int pos) |
int | position () |
void | reset () |
int | size () |
void | updateTargetStatistics () |
Public Attributes | |
TargetStatistics | statistics |
Detailed Description
Navigator through the capture history.
Definition at line 53 of file captureprocessoverlay.h.
Member Function Documentation
◆ addFrame()
bool CaptureProcessOverlay::CaptureHistory::addFrame | ( | CaptureProcessOverlay::FrameData | data | ) |
Add a newly captured frame to the history.
- Parameters
-
data frame data
- Returns
- true iff this is a new frame, i.e. its filename does not exist in the history
Definition at line 188 of file captureprocessoverlay.cpp.
◆ backward()
bool CaptureProcessOverlay::CaptureHistory::backward | ( | ) |
Move one step backwards in the history.
- Returns
- true iff the move was possible within the limits
Definition at line 240 of file captureprocessoverlay.cpp.
◆ currentFrame()
|
inline |
the currently pointed capture frame
Definition at line 72 of file captureprocessoverlay.h.
◆ deleteFrame()
bool CaptureProcessOverlay::CaptureHistory::deleteFrame | ( | int | pos | ) |
Delete the current frame and (if possible) the corresponding file.
If the last one has been deleted, navigate to the frame before, if possible.
- Returns
- true iff deleting was successful
Definition at line 202 of file captureprocessoverlay.cpp.
◆ forward()
bool CaptureProcessOverlay::CaptureHistory::forward | ( | ) |
Move one step forward in the history.
- Returns
- true iff the move was possible within the limits
Definition at line 229 of file captureprocessoverlay.cpp.
◆ getFrame()
|
inline |
Obtain the frame from the given position in the history.
Definition at line 81 of file captureprocessoverlay.h.
◆ position()
|
inline |
The current navigation position in the capture history.
Definition at line 77 of file captureprocessoverlay.h.
◆ reset()
void CaptureProcessOverlay::CaptureHistory::reset | ( | ) |
Reset the history.
Definition at line 223 of file captureprocessoverlay.cpp.
◆ size()
|
inline |
Capture history size.
Definition at line 85 of file captureprocessoverlay.h.
◆ updateTargetStatistics()
void CaptureProcessOverlay::CaptureHistory::updateTargetStatistics | ( | ) |
Iterate over the current target history and add all those where the corresponding file exists.
Definition at line 251 of file captureprocessoverlay.cpp.
Member Data Documentation
◆ statistics
TargetStatistics CaptureProcessOverlay::CaptureHistory::statistics |
Definition at line 107 of file captureprocessoverlay.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.