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 "ui_remoteinfodialog.h"
0010 namespace Git
0011 {
0012 class CommandAddRemote;
0013 }
0014 class RemoteInfoDialog : public QDialog, private Ui::RemoteInfoDialog
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     explicit RemoteInfoDialog(QWidget *parent = nullptr);
0020 
0021     Q_REQUIRED_RESULT QString remoteName() const;
0022     Q_REQUIRED_RESULT QString remoteUrl() const;
0023     Git::CommandAddRemote *command();
0024 };