CutterSeekable

class CutterSeekable

Public Functions

CutterSeekable(QObject *parent)
~CutterSeekable()
void seek(RVA addr)

seek changes current offset. If the seekable is synchronized with Core, then the Core offset will be modified and then the CutterCore::seekChanged signal will be emitted. In any case, CutterSeekable::seekableSeekChanged is emitted.

Parameters
  • addr -

    the location to seek at.

void toggleSynchronization()

toggleSyncWithCore toggles Core seek synchronization.

RVA getOffset()

getOffset returns the seekable offset. If the seekable is synchronized with Core, this function is similar to Core()->getOffset. If it’s not synchronized, it will return the seekable current seek.

Return
the seekable current offset.

bool isSynchronized()

isSynchronized tells whether the seekable is synchronized with Core or not.

Return
boolean

Public Slots

void seekPrev()

seekPrev seeks to last location.

Signal

signal CutterSeekable::seekableSeekChanged