Diff2::KompareModelList Class Reference
#include <komparemodellist.h>
List of all members.
Public Slots |
| void | slotApplyAllDifferences (bool apply) |
| void | slotApplyDifference (bool apply) |
| void | slotKompareInfo (struct Kompare::Info *) |
| void | slotNextDifference () |
| void | slotNextModel () |
| void | slotPreviousDifference () |
| void | slotPreviousModel () |
| void | slotSelectionChanged (const Diff2::Difference *diff) |
| void | slotSelectionChanged (const Diff2::DiffModel *model, const Diff2::Difference *diff) |
Signals |
| void | applyAllDifferences (bool apply) |
| void | applyDifference (const Diff2::Difference *diff, bool apply) |
| void | applyDifference (bool apply) |
| void | diffString (const QString &) |
| void | error (QString error) |
| void | modelsChanged (const Diff2::DiffModelList *models) |
| void | setSelection (const Diff2::Difference *diff) |
| void | setSelection (const Diff2::DiffModel *model, const Diff2::Difference *diff) |
| void | setStatusBarModelInfo (int modelIndex, int differenceIndex, int modelCount, int differenceCount, int appliedCount) |
| void | status (Kompare::Status status) |
| void | updateActions () |
Public Member Functions |
| | KompareModelList (DiffSettings *diffSettings, QWidget *widgetForKIO, QObject *parent, const char *name=0) |
| | ~KompareModelList () |
| int | appliedCount () const |
| bool | blendOriginalIntoModelList (const QString &localURL) |
| void | clear () |
| bool | compare (Kompare::Mode) |
| bool | compare () |
| int | currentDifference () const |
| int | currentModel () const |
| int | differenceCount () const |
| int | findModel (DiffModel *model) const |
| bool | hasUnsavedChanges () const |
| enum Kompare::Mode | mode () const |
| const DiffModel * | modelAt (int i) const |
| int | modelCount () const |
| const DiffModelList * | models () const |
| bool | openDiff (const QString &diff) |
| bool | openDirAndDiff () |
| bool | openFileAndDiff () |
| int | parseDiffOutput (const QString &diff) |
| QString | recreateDiff () const |
| void | refresh () |
| bool | saveAll () |
| bool | saveDestination (DiffModel *model) |
| bool | saveDiff (const QString &url, QString directory, DiffSettings *diffSettings) |
| const Difference * | selectedDifference () const |
| const DiffModel * | selectedModel () const |
| void | setEncoding (const QString &encoding) |
| void | show () |
| void | swap () |
Protected Slots |
| void | slotActionApplyAllDifferences () |
| void | slotActionApplyDifference () |
| void | slotActionUnapplyAllDifferences () |
| void | slotActionUnApplyDifference () |
| void | slotDiffProcessFinished (bool success) |
| void | slotSaveDestination () |
| void | slotWriteDiffOutput (bool success) |
Protected Member Functions |
| bool | blendFile (DiffModel *model, const QString &lines) |
Detailed Description
Definition at line 39 of file komparemodellist.h.
Constructor & Destructor Documentation
| KompareModelList::KompareModelList |
( |
DiffSettings * |
diffSettings, |
|
|
QWidget * |
widgetForKIO, |
|
|
QObject * |
parent, |
|
|
const char * |
name = 0 | |
|
) |
| | |
| KompareModelList::~KompareModelList |
( |
|
) |
|
Member Function Documentation
| int KompareModelList::appliedCount |
( |
|
) |
const |
| void Diff2::KompareModelList::applyAllDifferences |
( |
bool |
apply |
) |
[signal] |
| void Diff2::KompareModelList::applyDifference |
( |
const Diff2::Difference * |
diff, |
|
|
bool |
apply | |
|
) |
| | [signal] |
| void Diff2::KompareModelList::applyDifference |
( |
bool |
apply |
) |
[signal] |
| bool KompareModelList::blendFile |
( |
DiffModel * |
model, |
|
|
const QString & |
lines | |
|
) |
| | [protected] |
| bool KompareModelList::blendOriginalIntoModelList |
( |
const QString & |
localURL |
) |
|
| void KompareModelList::clear |
( |
|
) |
|
| bool KompareModelList::compare |
( |
|
) |
|
| int Diff2::KompareModelList::currentDifference |
( |
|
) |
const [inline] |
| int Diff2::KompareModelList::currentModel |
( |
|
) |
const [inline] |
| int KompareModelList::differenceCount |
( |
|
) |
const |
| void Diff2::KompareModelList::diffString |
( |
const QString & |
|
) |
[signal] |
| void Diff2::KompareModelList::error |
( |
QString |
error |
) |
[signal] |
| int Diff2::KompareModelList::findModel |
( |
DiffModel * |
model |
) |
const [inline] |
| bool KompareModelList::hasUnsavedChanges |
( |
void |
|
) |
const |
| enum Kompare::Mode Diff2::KompareModelList::mode |
( |
|
) |
const [inline] |
| const DiffModel* Diff2::KompareModelList::modelAt |
( |
int |
i |
) |
const [inline] |
| int KompareModelList::modelCount |
( |
|
) |
const |
| const DiffModelList* Diff2::KompareModelList::models |
( |
|
) |
const [inline] |
| bool KompareModelList::openDiff |
( |
const QString & |
diff |
) |
|
| bool KompareModelList::openDirAndDiff |
( |
|
) |
|
| bool KompareModelList::openFileAndDiff |
( |
|
) |
|
| int KompareModelList::parseDiffOutput |
( |
const QString & |
diff |
) |
|
| QString KompareModelList::recreateDiff |
( |
|
) |
const |
| void KompareModelList::refresh |
( |
|
) |
|
| bool KompareModelList::saveAll |
( |
|
) |
|
| bool KompareModelList::saveDestination |
( |
DiffModel * |
model |
) |
|
| const Difference* Diff2::KompareModelList::selectedDifference |
( |
|
) |
const [inline] |
| const DiffModel* Diff2::KompareModelList::selectedModel |
( |
|
) |
const [inline] |
| void KompareModelList::setEncoding |
( |
const QString & |
encoding |
) |
|
| void Diff2::KompareModelList::setSelection |
( |
const Diff2::Difference * |
diff |
) |
[signal] |
| void Diff2::KompareModelList::setStatusBarModelInfo |
( |
int |
modelIndex, |
|
|
int |
differenceIndex, |
|
|
int |
modelCount, |
|
|
int |
differenceCount, |
|
|
int |
appliedCount | |
|
) |
| | [signal] |
| void KompareModelList::show |
( |
|
) |
|
| void KompareModelList::slotActionApplyAllDifferences |
( |
|
) |
[protected, slot] |
| void KompareModelList::slotActionApplyDifference |
( |
|
) |
[protected, slot] |
| void KompareModelList::slotActionUnapplyAllDifferences |
( |
|
) |
[protected, slot] |
| void KompareModelList::slotActionUnApplyDifference |
( |
|
) |
[protected, slot] |
| void KompareModelList::slotApplyAllDifferences |
( |
bool |
apply |
) |
[slot] |
| void KompareModelList::slotApplyDifference |
( |
bool |
apply |
) |
[slot] |
| void KompareModelList::slotDiffProcessFinished |
( |
bool |
success |
) |
[protected, slot] |
| void KompareModelList::slotKompareInfo |
( |
struct Kompare::Info * |
info |
) |
[slot] |
| void KompareModelList::slotNextDifference |
( |
|
) |
[slot] |
| void KompareModelList::slotNextModel |
( |
|
) |
[slot] |
| void KompareModelList::slotPreviousDifference |
( |
|
) |
[slot] |
| void KompareModelList::slotPreviousModel |
( |
|
) |
[slot] |
| void KompareModelList::slotSaveDestination |
( |
|
) |
[protected, slot] |
Save the currently selected destination in a multi-file diff, or the single destination if a single file diff.
Definition at line 261 of file komparemodellist.cpp.
| void KompareModelList::slotSelectionChanged |
( |
const Diff2::Difference * |
diff |
) |
[slot] |
| void KompareModelList::slotWriteDiffOutput |
( |
bool |
success |
) |
[protected, slot] |
| void KompareModelList::swap |
( |
|
) |
|
| void Diff2::KompareModelList::updateActions |
( |
|
) |
[signal] |
The documentation for this class was generated from the following files: