File indexing completed on 2025-01-19 04:22:45

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 #include "libkommit_export.h"
0009 #include <QString>
0010 
0011 namespace Git
0012 {
0013 
0014 class LIBKOMMIT_EXPORT Tag
0015 {
0016 public:
0017     Tag();
0018 
0019     Q_REQUIRED_RESULT const QString &name() const;
0020     void setName(const QString &newName);
0021 
0022     Q_REQUIRED_RESULT const QString &message() const;
0023     void setMessage(const QString &newMessage);
0024 
0025     Q_REQUIRED_RESULT const QString &taggerEmail() const;
0026     void setTaggerEmail(const QString &newTaggerEmail);
0027 
0028     Q_REQUIRED_RESULT const QString &taggerName() const;
0029     void setTaggerName(const QString &newTaggerName);
0030 
0031     Q_REQUIRED_RESULT const QString &commiterName() const;
0032     void setCommiterName(const QString &newCommiterName);
0033 
0034     Q_REQUIRED_RESULT const QString &commiterEmail() const;
0035     void setCommiterEmail(const QString &newCommiterEmail);
0036 
0037 private:
0038     QString mName;
0039     QString mMessage;
0040 
0041     QString mTaggerName;
0042     QString mTaggerEmail;
0043     QString mCommiterName;
0044     QString mCommiterEmail;
0045 };
0046 
0047 } // namespace Git