mirror of
https://github.com/QuasarApp/CopyrightFixer.git
synced 2025-05-12 01:19:47 +00:00
ref #27 Fixing type of the argument into setListOwners
This commit is contained in:
parent
55eb24d796
commit
6ad01381c3
@ -13,7 +13,7 @@ Signature::Signature() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Signature::setlistOwners(Owner &objOwner) {
|
void Signature::setlistOwners(QList<Owner> &objOwner) {
|
||||||
ownersList.append(objOwner);
|
ownersList.append(objOwner);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ void Signature::setLicenseTitle(const QString &strTitle) {
|
|||||||
licenseTitle = strTitle;
|
licenseTitle = strTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Signature::setMessage(QString &strMsg) {
|
void Signature::setMessage(const QString &strMsg) {
|
||||||
customMessage = strMsg;
|
customMessage = strMsg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ public:
|
|||||||
* @brief setlistOwners The method generates a list of owners.
|
* @brief setlistOwners The method generates a list of owners.
|
||||||
* @param objOwner This is a structure with information about the owner.
|
* @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.
|
* @brief setLicenseTitle The method sets the copyright message.
|
||||||
@ -39,7 +39,7 @@ public:
|
|||||||
* @brief setMessage Method adds custom message.
|
* @brief setMessage Method adds custom message.
|
||||||
* @param strMsg Meaningful message with complementary information.
|
* @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.
|
* @brief getLstOwn The method allows you to get the current list of owners.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user