MCPcopy Create free account
hub / github.com/KDE/kdiff3 / getLine

Method getLine

src/diff.h:192–192  ·  view source on GitHub ↗

QString::fromRawData allows us to create a light weight QString backed by the buffer memory. */

Source from the content-addressed store, hash-verified

190 QString::fromRawData allows us to create a light weight QString backed by the buffer memory.
191 */
192 [[nodiscard]] inline const QString getLine() const { return QString::fromRawData(mBuffer->data() + mOffset, mSize); }
193 [[nodiscard]] inline const QSharedPointer<QString>& getBuffer() const { return mBuffer; }
194
195 [[nodiscard]] inline qsizetype getOffset() const { return mOffset; }

Callers 10

printDiff3ListFunction · 0.80
getLineFromSourceDataFunction · 0.80
getStringMethod · 0.80
getStringMethod · 0.80
equalMethod · 0.80
fineDiffMethod · 0.80
writeLineMethod · 0.80
getStringMethod · 0.80
getSelectionMethod · 0.80
testLineDataMethod · 0.80

Calls 1

dataMethod · 0.80

Tested by 3

printDiff3ListFunction · 0.64
getLineFromSourceDataFunction · 0.64
testLineDataMethod · 0.64