kompare
#include <kompare_part.h>
|
| KomparePart (QWidget *parentWidget, QObject *parent, const QVariantList &) |
|
virtual | ~KomparePart () |
|
virtual void | compare (const KUrl &sourceFile, const KUrl &destinationFile) |
|
virtual void | compare3Files (const KUrl &originalFile, const KUrl &changedFile1, const KUrl &changedFile2) |
|
virtual void | compareDirs (const KUrl &sourceDir, const KUrl &destinationDir) |
|
virtual void | compareFiles (const KUrl &sourceFile, const KUrl &destinationFile) |
|
virtual void | compareFileString (const KUrl &sourceFile, const QString &destination) |
|
virtual void | compareStringFile (const QString &source, const KUrl &destinationFile) |
|
const Diff2::KompareModelList * | model () const |
|
virtual bool | openDiff (const KUrl &diffUrl) |
|
virtual bool | openDiff (const QString &diffOutput) |
|
virtual bool | openDiff3 (const KUrl &diff3URL) |
|
virtual bool | openDiff3 (const QString &diff3Output) |
|
virtual void | openDirAndDiff (const KUrl &dir, const KUrl &diffFile) |
|
virtual void | openFileAndDiff (const KUrl &file, const KUrl &diffFile) |
|
virtual bool | queryClose () |
|
virtual int | readProperties (KConfig *config) |
|
virtual int | saveProperties (KConfig *config) |
|
virtual void | setEncoding (const QString &encoding) |
|
| KompareInterface () |
|
virtual | ~KompareInterface () |
|
This is a "Part".
It does all the real work in a KPart application.
Main Part
- Author
- John Firebaugh jfire.nosp@m.baug.nosp@m.h@kde.nosp@m..org
-
Otto Bruggeman brugg.nosp@m.ie@h.nosp@m.ome.n.nosp@m.l
- Version
- 0.3
Definition at line 58 of file kompare_part.h.
KomparePart::KomparePart |
( |
QWidget * |
parentWidget, |
|
|
QObject * |
parent, |
|
|
const QVariantList & |
|
|
) |
| |
KomparePart::~KomparePart |
( |
| ) |
|
|
virtual |
void KomparePart::appliedChanged |
( |
| ) |
|
|
signal |
void KomparePart::applyAllDifferences |
( |
bool |
apply | ) |
|
|
signal |
void KomparePart::applyDifference |
( |
bool |
apply | ) |
|
|
signal |
void KomparePart::applyDifference |
( |
const Diff2::Difference * |
, |
|
|
bool |
apply |
|
) |
| |
|
signal |
void KomparePart::compare |
( |
const KUrl & |
sourceFile, |
|
|
const KUrl & |
destinationFile |
|
) |
| |
|
virtual |
void KomparePart::compare3Files |
( |
const KUrl & |
originalFile, |
|
|
const KUrl & |
changedFile1, |
|
|
const KUrl & |
changedFile2 |
|
) |
| |
|
virtual |
void KomparePart::compareAndUpdateAll |
( |
| ) |
|
|
protectedslot |
void KomparePart::compareDirs |
( |
const KUrl & |
sourceDir, |
|
|
const KUrl & |
destinationDir |
|
) |
| |
|
virtual |
void KomparePart::compareFiles |
( |
const KUrl & |
sourceFile, |
|
|
const KUrl & |
destinationFile |
|
) |
| |
|
virtual |
void KomparePart::compareFileString |
( |
const KUrl & |
sourceFile, |
|
|
const QString & |
destination |
|
) |
| |
|
virtual |
void KomparePart::compareStringFile |
( |
const QString & |
source, |
|
|
const KUrl & |
destinationFile |
|
) |
| |
|
virtual |
void KomparePart::configChanged |
( |
| ) |
|
|
signal |
KAboutData * KomparePart::createAboutData |
( |
| ) |
|
|
static |
void KomparePart::differenceClicked |
( |
int |
lineNumber | ) |
|
|
signal |
void KomparePart::diffString |
( |
const QString & |
| ) |
|
|
signal |
void KomparePart::diffURLChanged |
( |
| ) |
|
|
signal |
void KomparePart::kompareInfo |
( |
Kompare::Info * |
info | ) |
|
|
signal |
const Diff2::KompareModelList* KomparePart::model |
( |
| ) |
const |
|
inline |
void KomparePart::modelsChanged |
( |
const Diff2::DiffModelList * |
models | ) |
|
|
signal |
bool KomparePart::openDiff |
( |
const KUrl & |
diffUrl | ) |
|
|
virtual |
bool KomparePart::openDiff |
( |
const QString & |
diffOutput | ) |
|
|
virtual |
bool KomparePart::openDiff3 |
( |
const KUrl & |
diff3URL | ) |
|
|
virtual |
bool KomparePart::openDiff3 |
( |
const QString & |
diff3Output | ) |
|
|
virtual |
void KomparePart::openDirAndDiff |
( |
const KUrl & |
dir, |
|
|
const KUrl & |
diffFile |
|
) |
| |
|
virtual |
bool KomparePart::openFile |
( |
| ) |
|
|
protectedvirtual |
This is the method that gets called when the file is opened, when using openURL( const KUrl& ) or in our case also openDiff( const KUrl& ); return true when everything went ok, false if there were problems.
Definition at line 511 of file kompare_part.cpp.
void KomparePart::openFileAndDiff |
( |
const KUrl & |
file, |
|
|
const KUrl & |
diffFile |
|
) |
| |
|
virtual |
void KomparePart::optionsPreferences |
( |
| ) |
|
|
protectedslot |
bool KomparePart::patchDir |
( |
| ) |
|
|
protected |
bool KomparePart::patchFile |
( |
KUrl & |
| ) |
|
|
protected |
bool KomparePart::queryClose |
( |
| ) |
|
|
virtual |
Warning this should be in class ReadWritePart in KDE 4.0, not here ! Around that time the method will disappear here.
Implements KompareInterface.
Definition at line 907 of file kompare_part.cpp.
int KomparePart::readProperties |
( |
KConfig * |
config | ) |
|
|
virtual |
Warning this should be in class Part in KDE 4.0, not here ! Around that time the methods will disappear here.
Implements KompareInterface.
Definition at line 930 of file kompare_part.cpp.
bool KomparePart::saveAll |
( |
| ) |
|
|
slot |
void KomparePart::saveDiff |
( |
| ) |
|
|
slot |
Save the results of a comparison as a diff file.
Definition at line 528 of file kompare_part.cpp.
virtual bool KomparePart::saveFile |
( |
| ) |
|
|
inlineprotectedvirtual |
int KomparePart::saveProperties |
( |
KConfig * |
config | ) |
|
|
virtual |
void KomparePart::selectionChanged |
( |
const Diff2::DiffModel * |
model, |
|
|
const Diff2::Difference * |
diff |
|
) |
| |
|
signal |
void KomparePart::selectionChanged |
( |
const Diff2::Difference * |
diff | ) |
|
|
signal |
void KomparePart::setEncoding |
( |
const QString & |
encoding | ) |
|
|
virtual |
void KomparePart::setSelection |
( |
const Diff2::DiffModel * |
model, |
|
|
const Diff2::Difference * |
diff |
|
) |
| |
|
signal |
void KomparePart::setSelection |
( |
const Diff2::Difference * |
diff | ) |
|
|
signal |
void KomparePart::setStatusBarModelInfo |
( |
int |
modelIndex, |
|
|
int |
differenceIndex, |
|
|
int |
modelCount, |
|
|
int |
differenceCount, |
|
|
int |
appliedCount |
|
) |
| |
|
signal |
void KomparePart::slotFilePrint |
( |
| ) |
|
|
slot |
To enable printing, the part has the only interesting printable content so putting it here.
Definition at line 586 of file kompare_part.cpp.
void KomparePart::slotFilePrintPreview |
( |
| ) |
|
|
slot |
void KomparePart::slotPaintRequested |
( |
QPrinter * |
printer | ) |
|
|
protectedslot |
void KomparePart::slotRefreshDiff |
( |
| ) |
|
|
protectedslot |
void KomparePart::slotSetStatus |
( |
Kompare::Status |
status | ) |
|
|
protectedslot |
void KomparePart::slotShowDiffstats |
( |
void |
| ) |
|
|
protectedslot |
void KomparePart::slotShowError |
( |
QString |
error | ) |
|
|
protectedslot |
void KomparePart::slotSwap |
( |
| ) |
|
|
protectedslot |
void KomparePart::updateActions |
( |
| ) |
|
|
protectedslot |
void KomparePart::updateCaption |
( |
| ) |
|
|
protectedslot |
void KomparePart::updateStatus |
( |
| ) |
|
|
protectedslot |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:02 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.