File indexing completed on 2024-05-12 09:48:33
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 class DiffPage; 0015 class DiffSettings; 0016 class ViewPage; 0017 class ViewSettings; 0018 0019 class KomparePrefDlg : public KPageDialog 0020 { 0021 Q_OBJECT 0022 public: 0023 KomparePrefDlg(ViewSettings*, DiffSettings*); 0024 ~KomparePrefDlg() override; 0025 0026 protected Q_SLOTS: 0027 /** No descriptions */ 0028 virtual void slotOk(); 0029 /** No descriptions */ 0030 virtual void slotApply(); 0031 /** No descriptions */ 0032 virtual void slotHelp(); 0033 /** No descriptions */ 0034 virtual void slotDefault(); 0035 /** No descriptions */ 0036 virtual void slotCancel(); 0037 0038 Q_SIGNALS: 0039 void configChanged(); 0040 0041 private: 0042 ViewPage* m_viewPage; 0043 DiffPage* m_diffPage; 0044 }; 0045 0046 #endif