File indexing completed on 2024-04-21 05:41:02
0001 /* 0002 SPDX-FileCopyrightText: 2011 Vishesh Yadav <vishesh3y@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef HGMERGEDIALOG_H 0008 #define HGMERGEDIALOG_H 0009 0010 #include <QString> 0011 #include "dialogbase.h" 0012 0013 class QLabel; 0014 class HgCommitInfoWidget; 0015 0016 /** 0017 * Implements dialog to perform merge operations 0018 */ 0019 class HgMergeDialog : public DialogBase 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 explicit HgMergeDialog(QWidget *parent = nullptr); 0025 void done(int r) override; 0026 0027 private Q_SLOTS: 0028 void saveGeometry(); 0029 0030 private: 0031 void updateInitialDialog(); 0032 0033 private: 0034 QLabel *m_currentChangeset; 0035 HgCommitInfoWidget *m_commitInfoWidget; 0036 }; 0037 0038 #endif // HGMERGEDIALOG_H 0039