4
0
mirror of https://github.com/QuasarApp/CopyrightFixer.git synced 2025-05-11 00:49:48 +00:00

ref Fixing type of the argument into setListOwners

This commit is contained in:
IgorekLoschinin 2021-04-19 22:05:20 +03:00
parent 55eb24d796
commit 6ad01381c3
2 changed files with 4 additions and 4 deletions
src/CopyrighFixer/CopyrighFixer

@ -13,7 +13,7 @@ Signature::Signature() {
}
void Signature::setlistOwners(Owner &objOwner) {
void Signature::setlistOwners(QList<Owner> &objOwner) {
ownersList.append(objOwner);
}
@ -21,7 +21,7 @@ void Signature::setLicenseTitle(const QString &strTitle) {
licenseTitle = strTitle;
}
void Signature::setMessage(QString &strMsg) {
void Signature::setMessage(const QString &strMsg) {
customMessage = strMsg;
}

@ -27,7 +27,7 @@ public:
* @brief setlistOwners The method generates a list of owners.
* @param objOwner This is a structure with information about the owner.
*/
void setlistOwners(Owner &objOwner);
void setlistOwners(QList<Owner> &objOwner);
/**
* @brief setLicenseTitle The method sets the copyright message.
@ -39,7 +39,7 @@ public:
* @brief setMessage Method adds custom message.
* @param strMsg Meaningful message with complementary information.
*/
void setMessage(QString &strMsg);
void setMessage(const QString &strMsg);
/**
* @brief getLstOwn The method allows you to get the current list of owners.