File indexing completed on 2025-01-05 05:14:49
0001 /* 0002 SPDX-FileCopyrightText: 2021 Hamed Masafi <hamed.masfi@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "appdialog.h" 0010 #include "libkommitwidgets_export.h" 0011 #include "ui_mergeopenfilesdialog.h" 0012 0013 class LIBKOMMITWIDGETS_EXPORT MergeOpenFilesDialog : public AppDialog, private Ui::MergeOpenFilesDialog 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 explicit MergeOpenFilesDialog(QWidget *parent = nullptr); 0019 0020 Q_REQUIRED_RESULT QString filePathLocal() const; 0021 void setFilePathLocal(const QString &newFilePathLocal); 0022 0023 Q_REQUIRED_RESULT QString filePathRemote() const; 0024 void setFilePathRemote(const QString &newFilePathRemote); 0025 0026 Q_REQUIRED_RESULT QString filePathBase() const; 0027 void setFilePathBase(const QString &newFilePathBase); 0028 };