KompareDiff2

diffsettings.h
1/*
2SPDX-FileCopyrightText: 2001-2003 Otto Bruggeman <otto.bruggeman@home.nl>
3SPDX-FileCopyrightText: 2001-2003 John Firebaugh <jfirebaugh@kde.org>
4
5SPDX-License-Identifier: GPL-2.0-or-later
6*/
7
8#ifndef KOMPAREDIFF2_DIFFSETTINGS_H
9#define KOMPAREDIFF2_DIFFSETTINGS_H
10
11#include <QStringList>
12
13#include "kompare.h"
14#include "settingsbase.h"
15#include "komparediff2_export.h"
16
17/**
18 * @class DiffSettings diffsettings.h <KompareDiff2/DiffSettings>
19 *
20 * The settings for a diff.
21 */
22class KOMPAREDIFF2_EXPORT DiffSettings : public SettingsBase
23{
24 Q_OBJECT
25public:
26 explicit DiffSettings(QWidget* parent);
27 ~DiffSettings() override;
28public:
29 // some virtual functions that will be overloaded from the base class
30 void loadSettings(KConfig* config) override;
31 void saveSettings(KConfig* config) override;
32
33public:
34 QString m_diffProgram;
35 int m_linesOfContext;
36 Kompare::Format m_format;
37 bool m_largeFiles; // -H
38 bool m_ignoreWhiteSpace; // -b
39 bool m_ignoreAllWhiteSpace; // -w
40 bool m_ignoreEmptyLines; // -B
41 bool m_ignoreChangesDueToTabExpansion; // -E
42 bool m_createSmallerDiff; // -d
43 bool m_ignoreChangesInCase; // -i
44 bool m_showCFunctionChange; // -p
45 bool m_convertTabsToSpaces; // -t
46 bool m_ignoreRegExp; // -I
47 QString m_ignoreRegExpText; // the RE for -I
48 QStringList m_ignoreRegExpTextHistory;
49 bool m_recursive; // -r
50 bool m_newFiles; // -N
51// bool m_allText; // -a
52 bool m_excludeFilePattern; // -x
53 QStringList m_excludeFilePatternList; // The list of patterns for -x
54 bool m_excludeFilesFile; // -X
55 QString m_excludeFilesFileURL; // The filename to -X
56 QStringList m_excludeFilesFileHistoryList; // The history list of filenames
57};
58
59#endif
The settings for a diff.
Base class for settings classes.
Format
Patch format enum.
Definition kompare.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Apr 27 2024 22:10:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.