kompare
kompare_part.h
Go to the documentation of this file.
121 virtual void compare3Files( const KUrl& originalFile, const KUrl& changedFile1, const KUrl& changedFile2 );
173 void setStatusBarModelInfo( int modelIndex, int differenceIndex, int modelCount, int differenceCount, int appliedCount );
void applyAllDifferences(bool apply)
virtual void setEncoding(const QString &encoding)
Reimplementing this because this one knows more about the real part then the interface.
Definition: kompare_part.cpp:203
virtual bool openDiff(const KUrl &diffUrl)
Open and parse the diff file at diffUrl.
Definition: kompare_part.cpp:209
void applyDifference(bool apply)
void diffString(const QString &)
virtual bool openFile()
This is the method that gets called when the file is opened, when using openURL( const KUrl& ) or in ...
Definition: kompare_part.cpp:511
void setStatusBarModelInfo(int modelIndex, int differenceIndex, int modelCount, int differenceCount, int appliedCount)
virtual void openFileAndDiff(const KUrl &file, const KUrl &diffFile)
This will show the file and the file with the diff applied.
Definition: kompare_part.cpp:476
Definition: kompareinterface.h:32
void modelsChanged(const Diff2::DiffModelList *models)
virtual int readProperties(KConfig *config)
Warning this should be in class Part in KDE 4.0, not here ! Around that time the methods will disappe...
Definition: kompare_part.cpp:930
virtual void compareFiles(const KUrl &sourceFile, const KUrl &destinationFile)
Compare, with diff, source with destination.
Definition: kompare_part.cpp:436
void slotSetStatus(Kompare::Status status)
Definition: kompare_part.cpp:641
bool patchDir()
virtual void compareFileString(const KUrl &sourceFile, const QString &destination)
Compare a Source file to a custom Destination string.
Definition: kompare_part.cpp:406
void diffURLChanged()
Definition: komparesplitter.h:40
void configChanged()
KomparePart(QWidget *parentWidget, QObject *parent, const QVariantList &)
Default constructor.
Definition: kompare_part.cpp:65
void setSelection(const Diff2::DiffModel *model, const Diff2::Difference *diff)
virtual void compare(const KUrl &sourceFile, const KUrl &destinationFile)
Compare, with diff, source with destination.
Definition: kompare_part.cpp:387
virtual void compareStringFile(const QString &source, const KUrl &destinationFile)
Compare a custom Source string to a Destination file.
Definition: kompare_part.cpp:421
virtual void compare3Files(const KUrl &originalFile, const KUrl &changedFile1, const KUrl &changedFile2)
Compare, with diff3, originalFile with changedFile1 and changedFile2.
Definition: kompare_part.cpp:468
virtual bool queryClose()
Warning this should be in class ReadWritePart in KDE 4.0, not here ! Around that time the method will...
Definition: kompare_part.cpp:907
void differenceClicked(int lineNumber)
Definition: kompareview.h:27
void slotFilePrint()
To enable printing, the part has the only interesting printable content so putting it here...
Definition: kompare_part.cpp:586
Definition: viewsettings.h:29
bool patchFile(KUrl &)
virtual void compareDirs(const KUrl &sourceDir, const KUrl &destinationDir)
Compare, with diff, source with destination.
Definition: kompare_part.cpp:453
virtual int saveProperties(KConfig *config)
Definition: kompare_part.cpp:938
virtual void openDirAndDiff(const KUrl &dir, const KUrl &diffFile)
This will show the directory and the directory with the diff applied.
Definition: kompare_part.cpp:490
void selectionChanged(const Diff2::DiffModel *model, const Diff2::Difference *diff)
void appliedChanged()
void kompareInfo(Kompare::Info *info)
virtual bool openDiff3(const KUrl &diff3URL)
Open and parse the diff3 file at diff3Url.
Definition: kompare_part.cpp:255
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.