@@ -351,7 +351,7 @@ void MainWindow::saveSettings() const
351351
352352 mApplications ->saveSettings ();
353353
354- mSettings ->setValue (SETTINGS_LANGUAGE, mTranslation ->GetCurrentLanguage ());
354+ mSettings ->setValue (SETTINGS_LANGUAGE, mTranslation ->getCurrentLanguage ());
355355 mUI .mResults ->saveSettings (mSettings );
356356}
357357
@@ -459,14 +459,14 @@ void MainWindow::checkCode(const QString& code, const QString& filename)
459459 // Initialize dummy ThreadResult as ErrorLogger
460460 ThreadResult result;
461461 result.setFiles (QStringList (filename));
462- connect (&result, SIGNAL (Progress (int , const QString&)),
463- mUI .mResults , SLOT (Progress (int , const QString&)));
464- connect (&result, SIGNAL (Error (const ErrorItem &)),
465- mUI .mResults , SLOT (Error (const ErrorItem &)));
466- connect (&result, SIGNAL (Log (const QString &)),
467- this , SLOT (Log (const QString &)));
468- connect (&result, SIGNAL (DebugError (const ErrorItem &)),
469- this , SLOT (DebugError (const ErrorItem &)));
462+ connect (&result, SIGNAL (progress (int , const QString&)),
463+ mUI .mResults , SLOT (progress (int , const QString&)));
464+ connect (&result, SIGNAL (error (const ErrorItem &)),
465+ mUI .mResults , SLOT (error (const ErrorItem &)));
466+ connect (&result, SIGNAL (log (const QString &)),
467+ this , SLOT (log (const QString &)));
468+ connect (&result, SIGNAL (debugError (const ErrorItem &)),
469+ this , SLOT (debugError (const ErrorItem &)));
470470
471471 // Create CppCheck instance
472472 CppCheck cppcheck (result, true );
@@ -895,13 +895,13 @@ void MainWindow::programSettings()
895895{
896896 SettingsDialog dialog (mApplications , mTranslation , this );
897897 if (dialog.exec () == QDialog::Accepted) {
898- dialog.SaveSettingValues ();
899- mUI .mResults ->updateSettings (dialog.ShowFullPath (),
900- dialog.SaveFullPath (),
901- dialog.SaveAllErrors (),
902- dialog.ShowNoErrorsMessage (),
903- dialog.ShowErrorId (),
904- dialog.ShowInconclusive ());
898+ dialog.saveSettingValues ();
899+ mUI .mResults ->updateSettings (dialog.showFullPath (),
900+ dialog.saveFullPath (),
901+ dialog.saveAllErrors (),
902+ dialog.showNoErrorsMessage (),
903+ dialog.showErrorId (),
904+ dialog.showInconclusive ());
905905 const QString newLang = mSettings ->value (SETTINGS_LANGUAGE, " en" ).toString ();
906906 setLanguage (newLang);
907907 }
@@ -1231,11 +1231,11 @@ void MainWindow::formatAndSetTitle(const QString &text)
12311231
12321232void MainWindow::setLanguage (const QString &code)
12331233{
1234- const QString currentLang = mTranslation ->GetCurrentLanguage ();
1234+ const QString currentLang = mTranslation ->getCurrentLanguage ();
12351235 if (currentLang == code)
12361236 return ;
12371237
1238- if (mTranslation ->SetLanguage (code)) {
1238+ if (mTranslation ->setLanguage (code)) {
12391239 // Translate everything that is visible here
12401240 mUI .retranslateUi (this );
12411241 mUI .mResults ->translate ();
0 commit comments