forked from qt-creator/qt-creator
s/ProjectExpander/ProjectMacroExpander/g
The new name is a better description of what the class is all about, it matches the filename and it does not conflict show up when trying to expand "PE" to ProjectExplorer. Change-Id: Ie6a10b9a83dc8bc529e35e3381f733dbe25847a3 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -35,12 +35,12 @@
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
|
||||
ProjectExpander::ProjectExpander(const QString &projectFilePath, const QString &projectName,
|
||||
ProjectMacroExpander::ProjectMacroExpander(const QString &projectFilePath, const QString &projectName,
|
||||
const Kit *k, const QString &bcName)
|
||||
: m_projectFile(projectFilePath), m_projectName(projectName), m_kit(k), m_bcName(bcName)
|
||||
{ }
|
||||
|
||||
bool ProjectExpander::resolveProjectMacro(const QString &name, QString *ret)
|
||||
bool ProjectMacroExpander::resolveProjectMacro(const QString &name, QString *ret)
|
||||
{
|
||||
QString result;
|
||||
bool found = false;
|
||||
@@ -75,7 +75,7 @@ bool ProjectExpander::resolveProjectMacro(const QString &name, QString *ret)
|
||||
return found;
|
||||
}
|
||||
|
||||
bool ProjectExpander::resolveMacro(const QString &name, QString *ret)
|
||||
bool ProjectMacroExpander::resolveMacro(const QString &name, QString *ret)
|
||||
{
|
||||
bool found = resolveProjectMacro(name, ret);
|
||||
if (!found) {
|
||||
|
||||
Reference in New Issue
Block a user