Astyle formatting.

This commit is contained in:
Vesa Pikki 2009-03-22 15:15:16 +02:00
parent adbdb4acc3
commit f04bdccee4
5 changed files with 23 additions and 22 deletions

View File

@ -84,7 +84,7 @@ void MainWindow::SaveSettings()
void MainWindow::DoCheckFiles(QFileDialog::FileMode mode)
{
QFileDialog dialog(this);
dialog.setDirectory(QDir(mSettings.value(tr("Check path"),"").toString()));
dialog.setDirectory(QDir(mSettings.value(tr("Check path"), "").toString()));
dialog.setFileMode(mode);
if (dialog.exec())
@ -93,7 +93,7 @@ void MainWindow::DoCheckFiles(QFileDialog::FileMode mode)
QStringList fileNames;
QString selection;
foreach(selection,selected)
foreach(selection, selected)
{
fileNames << RemoveUnacceptedFiles(GetFilesRecursively(selection));
}

View File

@ -26,7 +26,7 @@ ResultsTree::ResultsTree(QSettings &settings) :
{
setModel(&mModel);
QStringList labels;
labels << tr("severity")<<tr("Line") << tr("Message");
labels << tr("severity") << tr("Line") << tr("Message");
mModel.setHorizontalHeaderLabels(labels);
LoadSettings();

View File

@ -42,7 +42,7 @@ public:
virtual ~SettingsDialog();
void SaveCheckboxValues();
protected:
/**
/**
* @brief Load saved values
* Loads dialog size and column widths.
*
@ -64,7 +64,7 @@ protected:
*/
void SaveCheckboxValue(QCheckBox *box, const QString &name);
/**
/**
* @brief Add a new checkbox to layout
*
* @param layout layout to add to

View File

@ -40,9 +40,10 @@ void ThreadHandler::SetFiles(const QStringList &files)
{
mResults.SetFiles(files);
QString file;
qDebug()<<"Files to check:";
foreach(file,files) {
qDebug()<<file;
qDebug() << "Files to check:";
foreach(file, files)
{
qDebug() << file;
}
}