File indexing completed on 2024-05-05 05:45:47
0001 /* 0002 SPDX-FileCopyrightText: 2001-2009 Otto Bruggeman <bruggie@gmail.com> 0003 SPDX-FileCopyrightText: 2001-2003 John Firebaugh <jfirebaugh@kde.org> 0004 SPDX-FileCopyrightText: 2007 Kevin Kofler <kevin.kofler@chello.at> 0005 0006 SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef KOMPAREPREFDLG_H 0010 #define KOMPAREPREFDLG_H 0011 0012 #include <KPageDialog> 0013 0014 namespace KompareDiff2 { 0015 class DiffSettings; 0016 } 0017 0018 class DiffPage; 0019 class ViewPage; 0020 class ViewSettings; 0021 0022 class KomparePrefDlg : public KPageDialog 0023 { 0024 Q_OBJECT 0025 public: 0026 KomparePrefDlg(ViewSettings*, KompareDiff2::DiffSettings*); 0027 ~KomparePrefDlg() override; 0028 0029 protected Q_SLOTS: 0030 /** No descriptions */ 0031 virtual void slotOk(); 0032 /** No descriptions */ 0033 virtual void slotApply(); 0034 /** No descriptions */ 0035 virtual void slotHelp(); 0036 /** No descriptions */ 0037 virtual void slotDefault(); 0038 /** No descriptions */ 0039 virtual void slotCancel(); 0040 0041 Q_SIGNALS: 0042 void configChanged(); 0043 0044 private: 0045 ViewPage* m_viewPage; 0046 DiffPage* m_diffPage; 0047 }; 0048 0049 #endif