Fixed compile error in Linux

Include guard naming fix (names starting with underscore+capital letter are reserved in C++, so we should not use those)
Codeblocks project file update
This commit is contained in:
Reijo Tomperi 2009-06-24 23:49:38 +03:00
parent 364d8067ec
commit f740277ce5
7 changed files with 26 additions and 20 deletions

View File

@ -47,6 +47,8 @@
<Unit filename="gui/projectfile.cpp" />
<Unit filename="gui/projectfile.h" />
<Unit filename="gui/qrc_gui.cpp" />
<Unit filename="gui/report.cpp" />
<Unit filename="gui/report.h" />
<Unit filename="gui/resultstree.cpp" />
<Unit filename="gui/resultstree.h" />
<Unit filename="gui/resultsview.cpp" />
@ -58,6 +60,10 @@
<Unit filename="gui/threadhandler.h" />
<Unit filename="gui/threadresult.cpp" />
<Unit filename="gui/threadresult.h" />
<Unit filename="gui/txtreport.cpp" />
<Unit filename="gui/txtreport.h" />
<Unit filename="gui/xmlreport.cpp" />
<Unit filename="gui/xmlreport.h" />
<Unit filename="src/check.h" />
<Unit filename="src/checkautovariables.cpp" />
<Unit filename="src/checkautovariables.h" />

View File

@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/
*/
#ifndef _ABOUT_DIALOG_H_
#define _ABOUT_DIALOG_H_
#ifndef ABOUT_DIALOG_H
#define ABOUT_DIALOG_H
#include <QDialog>
#include <QString>
@ -38,4 +38,4 @@ private:
QString mVersion;
};
#endif // _ABOUT_DIALOG_H_
#endif // ABOUT_DIALOG_H

View File

@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/
*/
#ifndef _FILEVIEW_DIALOG_H_
#define _FILEVIEW_DIALOG_H_
#ifndef FILEVIEW_DIALOG_H
#define FILEVIEW_DIALOG_H
#include <QDialog>
#include <QString>
@ -55,4 +55,4 @@ protected:
QString FormatTitle(const QString &filename);
};
#endif // _FILEVIEW_DIALOG_H_
#endif // FILEVIEW_DIALOG_H

View File

@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/
*/
#ifndef _PROJECT_FILE_H_
#define _PROJECT_FILE_H_
#ifndef PROJECT_FILE_H
#define PROJECT_FILE_H
#include <QObject>
#include <QString>
@ -65,4 +65,4 @@ private:
QStringList mDeAllocatedClasses;
};
#endif // _PROJECT_FILE_H_
#endif // PROJECT_FILE_H

View File

@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/
*/
#ifndef _REPORT_H_
#define _REPORT_H_
#ifndef REPORT_H
#define REPORT_H
#include <QObject>
#include <QString>
@ -81,4 +81,4 @@ private:
QFile mFile;
};
#endif // _REPORT_H_
#endif // REPORT_H

View File

@ -16,15 +16,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/
*/
#ifndef _TXT_REPORT_H_
#define _TXT_REPORT_H_
#ifndef TXT_REPORT_H
#define TXT_REPORT_H
#include <QObject>
#include <QString>
#include <QStringList>
#include <QFile>
#include <QTextStream>
#include "Report.h"
#include "report.h"
/**
* @brief Text file report.
@ -67,4 +67,4 @@ private:
QTextStream mTxtWriter;
};
#endif // _TXT_REPORT_H_
#endif // TXT_REPORT_H

View File

@ -16,15 +16,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/
*/
#ifndef _XML_REPORT_H_
#define _XML_REPORT_H_
#ifndef XML_REPORT_H
#define XML_REPORT_H
#include <QObject>
#include <QString>
#include <QStringList>
#include <QFile>
#include <QXmlStreamWriter>
#include "Report.h"
#include "report.h"
/**
* @brief XML file report.
@ -67,4 +67,4 @@ private:
QXmlStreamWriter mXmlWriter;
};
#endif // _XML_REPORT_H_
#endif // XML_REPORT_H