Commit 1a5edbaf authored by BogDan Vatra's avatar BogDan Vatra Committed by Daniel Teske
Browse files

Make const the functions parameters



Change-Id: Ie02e3bc3cb09734164f573a0af53e4e1a5e99402
Reviewed-by: default avatarLaszlo Papp <lpapp@kde.org>
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 29a65750
......@@ -205,7 +205,7 @@ Utils::FileName DebuggerProfileInformation::debuggerCommand(const ProjectExplore
return Utils::FileName::fromString(p->value(Core::Id(DEBUGGER_INFORMATION)).toString());
}
void DebuggerProfileInformation::setDebuggerCommand(ProjectExplorer::Profile *p, Utils::FileName &command)
void DebuggerProfileInformation::setDebuggerCommand(ProjectExplorer::Profile *p, const Utils::FileName &command)
{
p->setValue(Core::Id(DEBUGGER_INFORMATION), command.toString());
}
......
......@@ -59,7 +59,7 @@ public:
ItemList toUserOutput(ProjectExplorer::Profile *p) const;
static Utils::FileName debuggerCommand(const ProjectExplorer::Profile *p);
static void setDebuggerCommand(ProjectExplorer::Profile *p, Utils::FileName &command);
static void setDebuggerCommand(ProjectExplorer::Profile *p, const Utils::FileName &command);
};
} // namespace Debugger
......
......@@ -135,7 +135,7 @@ BaseQtVersion *QtProfileInformation::qtVersion(const ProjectExplorer::Profile *p
return QtVersionManager::instance()->version(qtVersionId(p));
}
void QtProfileInformation::setQtVersion(ProjectExplorer::Profile *p, BaseQtVersion *v)
void QtProfileInformation::setQtVersion(ProjectExplorer::Profile *p, const BaseQtVersion *v)
{
if (!v)
setQtVersionId(p, -1);
......
......@@ -65,7 +65,7 @@ public:
static int qtVersionId(const ProjectExplorer::Profile *p);
static void setQtVersionId(ProjectExplorer::Profile *p, const int id);
static BaseQtVersion *qtVersion(const ProjectExplorer::Profile *p);
static void setQtVersion(ProjectExplorer::Profile *p, BaseQtVersion *v);
static void setQtVersion(ProjectExplorer::Profile *p, const BaseQtVersion *v);
};
class QTSUPPORT_EXPORT QtTypeProfileMatcher : public ProjectExplorer::ProfileMatcher
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment