mirror of
https://github.com/QuasarApp/CopyrightFixer.git
synced 2025-05-20 21:39:45 +00:00
ref #45 Rename all private fields
This commit is contained in:
parent
883dd73846
commit
2b4d2bbef8
@ -13,27 +13,27 @@ Config::Config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Config::setSourceDir(const QString &pathToDir) {
|
void Config::setSourceDir(const QString &pathToDir) {
|
||||||
sourceDirPath = pathToDir;
|
_sourceDirPath = pathToDir;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Config::setSingValue(const Signature &value) {
|
void Config::setSingValue(const Signature &value) {
|
||||||
signValue = value;
|
_signValue = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Config::setCurrOwn(const QString &owner) {
|
void Config::setCurrOwn(const QString &owner) {
|
||||||
currentOwner = owner;
|
_currentOwner = owner;
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString &Config::getSrcDir() const {
|
const QString &Config::getSrcDir() const {
|
||||||
return sourceDirPath;
|
return _sourceDirPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Signature &Config::getSignVal() const {
|
const Signature &Config::getSignVal() const {
|
||||||
return signValue;
|
return _signValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString &Config::getCurrentOwn() const {
|
const QString &Config::getCurrentOwn() const {
|
||||||
return currentOwner;
|
return _currentOwner;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -59,9 +59,9 @@ public:
|
|||||||
const QString &getCurrentOwn() const;
|
const QString &getCurrentOwn() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString sourceDirPath;
|
QString _sourceDirPath;
|
||||||
Signature signValue;
|
Signature _signValue;
|
||||||
QString currentOwner;
|
QString _currentOwner;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -13,19 +13,19 @@ Owner::Owner() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Owner::setName(const QString &ownerName) {
|
void Owner::setName(const QString &ownerName) {
|
||||||
name = ownerName;
|
_name = ownerName;
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString &Owner::getOwnerName() const {
|
const QString &Owner::getOwnerName() const {
|
||||||
return name;
|
return _name;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Owner::setTimeRange(const QString &interval) {
|
void Owner::setTimeRange(const QString &interval) {
|
||||||
timeRange = interval;
|
_timeRange = interval;
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString &Owner::getTimeRange() const {
|
const QString &Owner::getTimeRange() const {
|
||||||
return timeRange;
|
return _timeRange;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -44,8 +44,8 @@ public:
|
|||||||
*/
|
*/
|
||||||
const QString& getTimeRange() const;
|
const QString& getTimeRange() const;
|
||||||
private:
|
private:
|
||||||
QString name;
|
QString _name;
|
||||||
QString timeRange;
|
QString _timeRange;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -14,27 +14,27 @@ Signature::Signature() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Signature::setlistOwners(const QList<Owner> &objOwner) {
|
void Signature::setlistOwners(const QList<Owner> &objOwner) {
|
||||||
ownersList = objOwner;
|
_ownersList = objOwner;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Signature::setLicenseTitle(const QString &strTitle) {
|
void Signature::setLicenseTitle(const QString &strTitle) {
|
||||||
licenseTitle = strTitle;
|
_licenseTitle = strTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Signature::setMessage(const QString &strMsg) {
|
void Signature::setMessage(const QString &strMsg) {
|
||||||
customMessage = strMsg;
|
_customMessage = strMsg;
|
||||||
}
|
}
|
||||||
|
|
||||||
const QList<Owner> &Signature::getLstOwn() const {
|
const QList<Owner> &Signature::getLstOwn() const {
|
||||||
return ownersList;
|
return _ownersList;
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString &Signature::getLicenseTitle() const {
|
const QString &Signature::getLicenseTitle() const {
|
||||||
return licenseTitle;
|
return _licenseTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString &Signature::getMessage() const {
|
const QString &Signature::getMessage() const {
|
||||||
return customMessage;
|
return _customMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -59,9 +59,9 @@ public:
|
|||||||
const QString& getMessage() const;
|
const QString& getMessage() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QList<Owner> ownersList;
|
QList<Owner> _ownersList;
|
||||||
QString licenseTitle;
|
QString _licenseTitle;
|
||||||
QString customMessage;
|
QString _customMessage;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user