forked from qt-creator/qt-creator
Make const the functions parameters
Change-Id: Ie02e3bc3cb09734164f573a0af53e4e1a5e99402 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
committed by
Daniel Teske
parent
29a65750f6
commit
1a5edbaff9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user