kompare
Go to the documentation of this file.
20 #ifndef _KOMPARE_INTERFACE_H
21 #define _KOMPARE_INTERFACE_H
23 #include <QtCore/QString>
24 #include <QtCore/QStringList>
25 #include <kdemacros.h>
30 class KompareInterfacePrivate;
46 virtual bool openDiff(
const KUrl& diffUrl ) = 0;
51 virtual bool openDiff(
const QString& diffOutput ) = 0;
56 virtual bool openDiff3(
const KUrl& diff3Url ) = 0;
61 virtual bool openDiff3(
const QString& diff3Output ) = 0;
69 virtual void compare(
const KUrl& sourceFile,
const KUrl& destinationFile ) = 0;
74 virtual void compareFileString(
const KUrl & sourceFile,
const QString & destination) = 0;
79 virtual void compareStringFile(
const QString & source,
const KUrl & destinationFile) = 0;
84 virtual void compareFiles(
const KUrl& sourceFile,
const KUrl& destinationFile ) = 0;
89 virtual void compareDirs (
const KUrl& sourceDir,
const KUrl& destinationDir ) = 0;
94 virtual void compare3Files(
const KUrl& originalFile,
const KUrl& changedFile1,
const KUrl& changedFile2 ) = 0;
99 virtual void openFileAndDiff(
const KUrl& file,
const KUrl& diffFile ) = 0;
104 virtual void openDirAndDiff (
const KUrl& dir,
const KUrl& diffFile ) = 0;
109 virtual void setEncoding(
const QString& encoding );
116 virtual int readProperties( KConfig* config ) = 0;
117 virtual int saveProperties( KConfig* config ) = 0;
123 virtual bool queryClose() = 0;
127 KompareInterfacePrivate*
kip;
131 Q_DECLARE_INTERFACE(
KompareInterface,
"com.kde.Kompare.KompareInterface/4.0")
KompareInterfacePrivate * kip
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
KDE's Doxygen guidelines are available online.