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 #include "gittag.h"
0008 
0009 namespace Git
0010 {
0011 
0012 Tag::Tag() = default;
0013 
0014 const QString &Tag::name() const
0015 {
0016     return mName;
0017 }
0018 
0019 void Tag::setName(const QString &newName)
0020 {
0021     mName = newName;
0022 }
0023 
0024 const QString &Tag::message() const
0025 {
0026     return mMessage;
0027 }
0028 
0029 void Tag::setMessage(const QString &newMessage)
0030 {
0031     mMessage = newMessage;
0032 }
0033 
0034 const QString &Tag::taggerEmail() const
0035 {
0036     return mTaggerEmail;
0037 }
0038 
0039 void Tag::setTaggerEmail(const QString &newTaggerEmail)
0040 {
0041     mTaggerEmail = newTaggerEmail;
0042 }
0043 
0044 const QString &Tag::taggerName() const
0045 {
0046     return mTaggerName;
0047 }
0048 
0049 void Tag::setTaggerName(const QString &newTaggerName)
0050 {
0051     mTaggerName = newTaggerName;
0052 }
0053 
0054 const QString &Tag::commiterName() const
0055 {
0056     return mCommiterName;
0057 }
0058 
0059 void Tag::setCommiterName(const QString &newCommiterName)
0060 {
0061     mCommiterName = newCommiterName;
0062 }
0063 
0064 const QString &Tag::commiterEmail() const
0065 {
0066     return mCommiterEmail;
0067 }
0068 
0069 void Tag::setCommiterEmail(const QString &newCommiterEmail)
0070 {
0071     mCommiterEmail = newCommiterEmail;
0072 }
0073 }