diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-09-14 10:56:10 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-09-22 09:16:48 +0000 |
commit | af7f098366ce0d039bbff24ad9560eca9e49ae02 (patch) | |
tree | 726b860c46514bbd7d49ad0fb323226853e7dc48 /src/plugins/cpptools/cppfilesettingspage.h | |
parent | 61e590a9716bcbb9621ed9f82452b3590a783c91 (diff) | |
download | qt-creator-af7f098366ce0d039bbff24ad9560eca9e49ae02.tar.gz |
LicenseTemplate: Use macro expansion
Convert existing licensetemplate syntax to macro expansion. That
is way more powerful than what we used to have.
Do return the (converted) license template and do not try to fill
in information since that is not available when querying the
template.
Change-Id: Ia4f45ccf055772b21b0c2ce3c083cf49c45ae7d8
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/cpptools/cppfilesettingspage.h')
-rw-r--r-- | src/plugins/cpptools/cppfilesettingspage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppfilesettingspage.h b/src/plugins/cpptools/cppfilesettingspage.h index 84ad6529a9..855aefb7d0 100644 --- a/src/plugins/cpptools/cppfilesettingspage.h +++ b/src/plugins/cpptools/cppfilesettingspage.h @@ -65,7 +65,7 @@ struct CppFileSettings // Convenience to return a license template completely formatted. // Currently made public in - static QString licenseTemplate(const QString &file = QString(), const QString &className = QString()); + static QString licenseTemplate(); bool equals(const CppFileSettings &rhs) const; bool operator==(const CppFileSettings &s) const { return equals(s); } |