kompare
main.cpp
Go to the documentation of this file.
61 ki18n("(c) 2001-2004 John Firebaugh, (c) 2001-2005,2009 Otto Bruggeman, (c) 2004-2005 Jeff Snyder, (c) 2007-2012 Kevin Kofler") );
66 aboutData.addCredit( ki18n("Chris Luetchford"), ki18n("Kompare icon artist"), "chris@os11.com" );
68 aboutData.addCredit( ki18n("Bernd Gehrmann"), ki18n("Cervisia diff viewer"), "bernd@physik.hu-berlin.de" );
74 options.add("o", ki18n( "This will open URL1 and expect it to be diff output. URL1 can also be a '-' and then it will read from standard input. Can be used for instance for cvs diff | kompare -o -. Kompare will do a check to see if it can find the original file(s) and then blend the original file(s) into the diffoutput and show that in the viewer. -n disables the check." ));
75 options.add("b", ki18n( "This will blend URL2 into URL1, URL2 is expected to be diff output and URL1 the file or folder that the diffoutput needs to be blended into. " ));
76 options.add("n", ki18n( "Disables the check for automatically finding the original file(s) when using '-' as URL with the -o option." ));
77 options.add("e <encoding>", ki18n( "Use this to specify the encoding when calling it from the command line. It will default to the local encoding if not specified." ));
184 kDebug( 8100 ) << "Dunno, we'll have to figure it out later, trying compare for now..." << endl;
205 KGuiItem compareGuiItem( i18n( "Compare" ), QString(), i18n( "Compare these files or folder" ), i18n( "If you have entered 2 filenames or 2 folders in the fields in this dialog then this button will be enabled and pressing it will start a comparison of the entered files or folders. " ) );
KUrl getFirstURL() const
Returns the first URL, which was entered.
Definition: kompareurldialog.cpp:139
virtual void setEncoding(const QString &encoding)
This will set the encoding to use for all files that are read or for the diffoutput.
Definition: kompareinterface.cpp:72
void blend(const KUrl &url1, const KUrl &diff)
Use this method to blend diff into url1 (file or directory)
Definition: kompare_shell.cpp:187
KUrl getSecondURL() const
Returns the second URL, which was entered.
Definition: kompareurldialog.cpp:148
void setSecondURLRequesterMode(unsigned int mode)
Definition: kompareurldialog.cpp:184
void setSecondGroupBoxTitle(const QString &title)
Definition: kompareurldialog.cpp:167
void setFirstGroupBoxTitle(const QString &title)
Definition: kompareurldialog.cpp:162
void setFirstURLRequesterMode(unsigned int mode)
Definition: kompareurldialog.cpp:179
void compare(const KUrl &source, const KUrl &destination)
Use this method to compare 2 URLs (files or directories)
Definition: kompare_shell.cpp:179
void setGroup(const QString &groupName)
Definition: kompareurldialog.cpp:172
void openDiff(const KUrl &url)
Use this method to load whatever file/URL you have.
Definition: kompare_shell.cpp:157
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.