KompareDiff2::ModelList
#include <KompareDiff2/ModelList>
Signals | |
void | applyAllDifferences (bool apply) |
void | applyDifference (bool apply) |
void | applyDifference (const KompareDiff2::Difference *diff, bool apply) |
void | diffString (const QString &) |
void | error (const QString &error) |
void | modelsChanged (const KompareDiff2::DiffModelList *models) |
void | setSelection (const KompareDiff2::Difference *diff) |
void | setSelection (const KompareDiff2::DiffModel *model, const KompareDiff2::Difference *diff) |
void | setStatusBarModelInfo (int modelIndex, int differenceIndex, int modelCount, int differenceCount, int appliedCount) |
void | status (KompareDiff2::Status status) |
void | updateActions () |
Public Slots | |
void | slotApplyAllDifferences (bool apply) |
void | slotApplyDifference (bool apply) |
void | slotKompareInfo (KompareDiff2::Info *) |
void | slotNextDifference () |
void | slotNextModel () |
void | slotPreviousDifference () |
void | slotPreviousModel () |
void | slotSelectionChanged (const KompareDiff2::Difference *diff) |
void | slotSelectionChanged (const KompareDiff2::DiffModel *model, const KompareDiff2::Difference *diff) |
Public Member Functions | |
ModelList (DiffSettings *diffSettings, QObject *parent, bool supportReadWrite=true) | |
KActionCollection * | actionCollection () const |
int | appliedCount () const |
bool | blendOriginalIntoModelList (const QString &localURL) |
void | clear () |
bool | compare () |
bool | compare (Mode) |
int | currentDifference () const |
int | currentModel () const |
int | differenceCount () const |
int | findModel (DiffModel *model) const |
bool | hasUnsavedChanges () const |
bool | isReadWrite () const |
Mode | mode () const |
DiffModel * | modelAt (int i) |
const DiffModel * | modelAt (int i) const |
int | modelCount () const |
const DiffModelList * | models () const |
bool | openDiff (const QString &diff) |
bool | openDirAndDiff () |
bool | openFileAndDiff () |
bool | parseAndOpenDiff (const QString &diff) |
int | parseDiffOutput (const QString &diff) |
QString | recreateDiff () const |
void | refresh () |
bool | saveAll () |
bool | saveDestination (DiffModel *model) |
bool | saveDiff (const QString &url, const QString &directory, DiffSettings *diffSettings) |
const Difference * | selectedDifference () const |
const DiffModel * | selectedModel () const |
void | setEncoding (const QString &encoding) |
void | setReadWrite (bool isReadWrite) |
void | show () |
void | swap () |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QBindable< QString > | bindableObjectName () |
bool | blockSignals (bool block) |
const QObjectList & | children () const const |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
bool | disconnect (const QObject *receiver, const char *method) const const |
void | dumpObjectInfo () const const |
void | dumpObjectTree () const const |
QList< QByteArray > | dynamicPropertyNames () const const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name, Qt::FindChildOptions options) const const |
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
QList< T > | findChildren (Qt::FindChildOptions options) const const |
bool | inherits (const char *className) const const |
void | installEventFilter (QObject *filterObj) |
bool | isQuickItemType () const const |
bool | isWidgetType () const const |
bool | isWindowType () const const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const const |
void | moveToThread (QThread *targetThread) |
QString | objectName () const const |
void | objectNameChanged (const QString &objectName) |
QObject * | parent () const const |
QVariant | property (const char *name) const const |
Q_CLASSINFO (Name, Value) | |
Q_EMIT Q_EMIT | |
Q_ENUM (...) | |
Q_ENUM_NS (...) | |
Q_ENUMS (...) | |
Q_FLAG (...) | |
Q_FLAG_NS (...) | |
Q_FLAGS (...) | |
Q_GADGET Q_GADGET | |
Q_GADGET_EXPORT (EXPORT_MACRO) | |
Q_INTERFACES (...) | |
Q_INVOKABLE Q_INVOKABLE | |
Q_MOC_INCLUDE Q_MOC_INCLUDE | |
Q_NAMESPACE Q_NAMESPACE | |
Q_NAMESPACE_EXPORT (EXPORT_MACRO) | |
Q_OBJECT Q_OBJECT | |
Q_PROPERTY (...) | |
Q_REVISION Q_REVISION | |
Q_SET_OBJECT_NAME (Object) | |
Q_SIGNAL Q_SIGNAL | |
Q_SIGNALS Q_SIGNALS | |
Q_SLOT Q_SLOT | |
Q_SLOTS Q_SLOTS | |
T | qobject_cast (const QObject *object) |
T | qobject_cast (QObject *object) |
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
void | removeEventFilter (QObject *obj) |
void | setObjectName (const QString &name) |
void | setObjectName (QAnyStringView name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | setProperty (const char *name, QVariant &&value) |
bool | signalsBlocked () const const |
int | startTimer (int interval, Qt::TimerType timerType) |
int | startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType) |
QThread * | thread () const const |
Protected Slots | |
void | slotActionApplyAllDifferences () |
void | slotActionApplyDifference () |
void | slotActionUnapplyAllDifferences () |
void | slotActionUnApplyDifference () |
void | slotDiffProcessFinished (bool success) |
void | slotSaveDestination () |
void | slotWriteDiffOutput (bool success) |
Additional Inherited Members | |
Public Types inherited from QObject | |
typedef | QObjectList |
Properties inherited from QObject | |
objectName | |
Static Public Member Functions inherited from QObject | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
bool | disconnect (const QMetaObject::Connection &connection) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
Definition at line 35 of file modellist.h.
Constructor & Destructor Documentation
◆ ModelList()
ModelList::ModelList | ( | DiffSettings * | diffSettings, |
QObject * | parent, | ||
bool | supportReadWrite = true ) |
Definition at line 38 of file modellist.cpp.
Member Function Documentation
◆ actionCollection()
KActionCollection * ModelList::actionCollection | ( | ) | const |
Definition at line 684 of file modellist.cpp.
◆ appliedCount()
int ModelList::appliedCount | ( | ) | const |
Definition at line 994 of file modellist.cpp.
◆ blendOriginalIntoModelList()
bool ModelList::blendOriginalIntoModelList | ( | const QString & | localURL | ) |
Definition at line 836 of file modellist.cpp.
◆ clear()
void ModelList::clear | ( | ) |
Definition at line 938 of file modellist.cpp.
◆ compare() [1/2]
bool ModelList::compare | ( | ) |
Definition at line 100 of file modellist.cpp.
◆ compare() [2/2]
bool ModelList::compare | ( | Mode | mode | ) |
Definition at line 159 of file modellist.cpp.
◆ currentDifference()
int ModelList::currentDifference | ( | ) | const |
Definition at line 917 of file modellist.cpp.
◆ currentModel()
int ModelList::currentModel | ( | ) | const |
Definition at line 910 of file modellist.cpp.
◆ differenceCount()
int ModelList::differenceCount | ( | ) | const |
Definition at line 987 of file modellist.cpp.
◆ findModel()
int ModelList::findModel | ( | DiffModel * | model | ) | const |
Definition at line 903 of file modellist.cpp.
◆ hasUnsavedChanges()
bool ModelList::hasUnsavedChanges | ( | ) | const |
Definition at line 967 of file modellist.cpp.
◆ isReadWrite()
bool ModelList::isReadWrite | ( | ) | const |
Definition at line 415 of file modellist.cpp.
◆ mode()
Mode ModelList::mode | ( | ) | const |
Definition at line 670 of file modellist.cpp.
◆ modelAt() [1/2]
DiffModel * ModelList::modelAt | ( | int | i | ) |
Definition at line 896 of file modellist.cpp.
◆ modelAt() [2/2]
const DiffModel * ModelList::modelAt | ( | int | i | ) | const |
Definition at line 889 of file modellist.cpp.
◆ modelCount()
int ModelList::modelCount | ( | ) | const |
Definition at line 980 of file modellist.cpp.
◆ models()
const DiffModelList * ModelList::models | ( | ) | const |
Definition at line 677 of file modellist.cpp.
◆ openDiff()
bool ModelList::openDiff | ( | const QString & | diff | ) |
Definition at line 449 of file modellist.cpp.
◆ openDirAndDiff()
bool ModelList::openDirAndDiff | ( | ) |
Definition at line 202 of file modellist.cpp.
◆ openFileAndDiff()
bool ModelList::openFileAndDiff | ( | ) |
Definition at line 176 of file modellist.cpp.
◆ parseAndOpenDiff()
bool ModelList::parseAndOpenDiff | ( | const QString & | diff | ) |
Definition at line 477 of file modellist.cpp.
◆ parseDiffOutput()
int ModelList::parseDiffOutput | ( | const QString & | diff | ) |
Definition at line 799 of file modellist.cpp.
◆ recreateDiff()
QString ModelList::recreateDiff | ( | ) | const |
Definition at line 497 of file modellist.cpp.
◆ refresh()
void ModelList::refresh | ( | ) |
Definition at line 948 of file modellist.cpp.
◆ saveAll()
bool ModelList::saveAll | ( | ) |
Definition at line 372 of file modellist.cpp.
◆ saveDestination()
bool ModelList::saveDestination | ( | DiffModel * | model | ) |
Definition at line 243 of file modellist.cpp.
◆ saveDiff()
bool ModelList::saveDiff | ( | const QString & | url, |
const QString & | directory, | ||
DiffSettings * | diffSettings ) |
Definition at line 510 of file modellist.cpp.
◆ selectedDifference()
const Difference * ModelList::selectedDifference | ( | ) | const |
Definition at line 931 of file modellist.cpp.
◆ selectedModel()
const DiffModel * ModelList::selectedModel | ( | ) | const |
Definition at line 924 of file modellist.cpp.
◆ setEncoding()
void ModelList::setEncoding | ( | const QString & | encoding | ) |
Definition at line 387 of file modellist.cpp.
◆ setReadWrite()
void ModelList::setReadWrite | ( | bool | isReadWrite | ) |
Definition at line 404 of file modellist.cpp.
◆ show()
void ModelList::show | ( | ) |
Definition at line 880 of file modellist.cpp.
◆ slotActionApplyAllDifferences
|
protectedslot |
Definition at line 1028 of file modellist.cpp.
◆ slotActionApplyDifference
|
protectedslot |
Definition at line 1008 of file modellist.cpp.
◆ slotActionUnapplyAllDifferences
|
protectedslot |
Definition at line 1036 of file modellist.cpp.
◆ slotActionUnApplyDifference
|
protectedslot |
Definition at line 1018 of file modellist.cpp.
◆ slotApplyAllDifferences
|
slot |
Definition at line 791 of file modellist.cpp.
◆ slotApplyDifference
|
slot |
Definition at line 783 of file modellist.cpp.
◆ slotDiffProcessFinished
|
protectedslot |
Definition at line 422 of file modellist.cpp.
◆ slotKompareInfo
|
slot |
Definition at line 1001 of file modellist.cpp.
◆ slotNextDifference
|
slot |
Definition at line 737 of file modellist.cpp.
◆ slotNextModel
|
slot |
Definition at line 650 of file modellist.cpp.
◆ slotPreviousDifference
|
slot |
Definition at line 691 of file modellist.cpp.
◆ slotPreviousModel
|
slot |
Definition at line 630 of file modellist.cpp.
◆ slotSaveDestination
|
protectedslot |
Save the currently selected destination in a multi-file diff, or the single destination if a single file diff.
Definition at line 230 of file modellist.cpp.
◆ slotSelectionChanged [1/2]
|
slot |
Definition at line 604 of file modellist.cpp.
◆ slotSelectionChanged [2/2]
|
slot |
Definition at line 566 of file modellist.cpp.
◆ slotWriteDiffOutput
|
protectedslot |
Definition at line 536 of file modellist.cpp.
◆ swap()
void ModelList::swap | ( | ) |
Definition at line 956 of file modellist.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:50:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.