1
/***************************************************************************
5
Copyright 2001-2004 Otto Bruggeman <otto.bruggeman@home.nl>
6
Copyright 2001-2003 John Firebaugh <jfirebaugh@kde.org>
7
****************************************************************************/
9
/***************************************************************************
11
** This program is free software; you can redistribute it and/or modify
12
** it under the terms of the GNU General Public License as published by
13
** the Free Software Foundation; either version 2 of the License, or
14
** (at your option) any later version.
16
***************************************************************************/
18
#ifndef KOMPAREURLDIALOG_H
19
#define KOMPAREURLDIALOG_H
21
#include <KPageDialog>
31
* Definition of class KompareURLDialog.
32
* @author Otto Bruggeman
33
* @author John Firebaugh
35
class KompareURLDialog : public KPageDialog
40
explicit KompareURLDialog(QWidget* parent = nullptr);
41
~KompareURLDialog() override;
43
QUrl getFirstURL() const;
44
QUrl getSecondURL() const;
45
QString encoding() const;
47
void setFirstGroupBoxTitle(const QString& title);
48
void setSecondGroupBoxTitle(const QString& title);
50
void setGroup(const QString& groupName);
52
void setFirstURLRequesterMode(unsigned int mode);
53
void setSecondURLRequesterMode(unsigned int mode);
56
void accept() override;
57
void reject() override;
62
void showEvent(QShowEvent* event) override;
64
FilesPage* m_filesPage;
65
FilesSettings* m_filesSettings;
67
DiffSettings* m_diffSettings;
69
ViewSettings* m_viewSettings;