8#include "differencestring.h"
9#include "differencestring_p.h"
14DifferenceString::DifferenceString()
15 : d_ptr(new DifferenceStringPrivate())
20DifferenceString::DifferenceString(
const QString &
string,
const MarkerList &markerList)
21 : d_ptr(new DifferenceStringPrivate(string, markerList))
26DifferenceString::DifferenceString(
const DifferenceString &ds)
27 : d_ptr(new DifferenceStringPrivate(*ds.d_ptr))
32DifferenceString::~DifferenceString() =
default;
34bool DifferenceString::operator==(
const DifferenceString &ks)
const
36 Q_D(
const DifferenceString);
38 return (*d == *ks.d_ptr);
41QString DifferenceString::string()
const
43 Q_D(
const DifferenceString);
48QString DifferenceString::conflictString()
const
50 Q_D(
const DifferenceString);
55MarkerList DifferenceString::markerList()
const
57 Q_D(
const DifferenceString);
62void DifferenceString::setString(
const QString &
string)
64 Q_D(DifferenceString);
70void DifferenceString::setConflictString(
const QString &conflict)
72 Q_D(DifferenceString);
74 d->conflict = conflict;
77void DifferenceString::setMarkerList(
const MarkerList &markerList)
79 Q_D(DifferenceString);
81 d->markerList = markerList;
84void DifferenceString::prepend(Marker *marker)
86 Q_D(DifferenceString);
88 d->markerList.prepend(marker);
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:05:06 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.