mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-25 23:21:03 -04:00
Reduce number of unneeded copies
This patch aims at reducing the number of copies for obejcts that could be referenced rather than copied, because they're not modified during the computation.
This commit is contained in:
parent
a67a574b89
commit
da9afd3f6f
40 changed files with 90 additions and 90 deletions
|
@ -59,7 +59,7 @@ public:
|
|||
bool useCustomProxy();
|
||||
void setUseCustomProxy(bool enabled);
|
||||
QString customProxyLocation();
|
||||
void setCustomProxyLocation(QString location);
|
||||
void setCustomProxyLocation(const QString& location);
|
||||
bool updateBinaryPath();
|
||||
void setUpdateBinaryPath(bool enabled);
|
||||
bool chromeSupport();
|
||||
|
@ -98,11 +98,11 @@ public:
|
|||
bool advancedMode();
|
||||
void setAdvancedMode(bool advancedMode);
|
||||
QString passwordExcludedChars();
|
||||
void setPasswordExcludedChars(QString chars);
|
||||
void setPasswordExcludedChars(const QString& chars);
|
||||
int passPhraseWordCount();
|
||||
void setPassPhraseWordCount(int wordCount);
|
||||
QString passPhraseWordSeparator();
|
||||
void setPassPhraseWordSeparator(QString separator);
|
||||
void setPassPhraseWordSeparator(const QString& separator);
|
||||
int generatorType();
|
||||
void setGeneratorType(int type);
|
||||
bool passwordEveryGroup();
|
||||
|
@ -114,7 +114,7 @@ public:
|
|||
PasswordGenerator::CharClasses passwordCharClasses();
|
||||
PasswordGenerator::GeneratorFlags passwordGeneratorFlags();
|
||||
QString generatePassword();
|
||||
void updateBinaryPaths(QString customProxyLocation = QString());
|
||||
void updateBinaryPaths(const QString& customProxyLocation = QString());
|
||||
bool checkIfProxyExists(QString& path);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue