ModelEditor: Apply naming convention to variables

This change applies the naming convention to function parameters and local variables.

Change-Id: Ifa495c70520923f14ba6791513d3691bfa7694f6
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Jochen Becher
2015-11-04 07:52:44 +01:00
parent 06821596f0
commit 212f607768
204 changed files with 4455 additions and 4455 deletions

View File

@@ -66,9 +66,9 @@ ConfigController::~ConfigController()
delete d;
}
void ConfigController::setStereotypeController(StereotypeController *stereotype_controller)
void ConfigController::setStereotypeController(StereotypeController *stereotypeController)
{
d->m_stereotypeController = stereotype_controller;
d->m_stereotypeController = stereotypeController;
}
void ConfigController::readStereotypeDefinitions(const QString &path)
@@ -79,8 +79,8 @@ void ConfigController::readStereotypeDefinitions(const QString &path)
QDir dir(path);
dir.setNameFilters(QStringList() << QStringLiteral("*.def"));
foreach (const QString &file_name, dir.entryList(QDir::Files)) {
QFile file(QFileInfo(dir, file_name).absoluteFilePath());
foreach (const QString &fileName, dir.entryList(QDir::Files)) {
QFile file(QFileInfo(dir, fileName).absoluteFilePath());
if (file.open(QIODevice::ReadOnly)) {
QString text = QString::fromUtf8(file.readAll());
file.close();
@@ -99,9 +99,9 @@ void ConfigController::readStereotypeDefinitions(const QString &path)
}
}
void ConfigController::onStereotypeIconParsed(const StereotypeIcon &stereotype_icon)
void ConfigController::onStereotypeIconParsed(const StereotypeIcon &stereotypeIcon)
{
d->m_stereotypeController->addStereotypeIcon(stereotype_icon);
d->m_stereotypeController->addStereotypeIcon(stereotypeIcon);
}
void ConfigController::onToolbarParsed(const Toolbar &toolbar)