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

Method setString

src/MergeEditLine.h:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 [[nodiscard]] inline bool isEditableText() const { return !isConflict(); }
53
54 void setString(const QString& s)
55 {
56 mStr = s;
57 mLineRemoved = false;
58 mSrc = e_SrcSelector::None;
59 mChanged = true;
60 }
61 [[nodiscard]] QString getString(const std::shared_ptr<const LineDataVector>& pLineDataA, const std::shared_ptr<const LineDataVector>& pLineDataB, const std::shared_ptr<const LineDataVector>& pLineDataC) const;
62 [[nodiscard]] inline bool isModified() const { return mChanged; }
63

Callers 4

slotMergeHistoryMethod · 0.80
keyPressEventMethod · 0.80
deleteSelectionMethod · 0.80
pasteClipboardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected