summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTobias Hunger <qt-info@nokia.com>2009-11-11 15:25:14 +0100
committerTobias Hunger <qt-info@nokia.com>2009-11-12 09:04:17 +0100
commit074b111c66133ce137fd883e435f4429ebc4a09f (patch)
tree55ab3ed2588fb4d1a6d7982b33dbed724f29a823 /src
parent7c003add4473e1d80be646c8fc819fc8822d3987 (diff)
downloadqt-creator-074b111c66133ce137fd883e435f4429ebc4a09f.tar.gz
Rename BuildParserInterface to IBuildParser.
Rename BuildParserInterface to IBuildParser to comply with latest naming conventions. Reviewed-By: con
Diffstat (limited to 'src')
-rw-r--r--src/plugins/projectexplorer/abstractmakestep.h2
-rw-r--r--src/plugins/projectexplorer/buildparserfactory.cpp4
-rw-r--r--src/plugins/projectexplorer/buildparserfactory.h6
-rw-r--r--src/plugins/projectexplorer/buildstep.h2
-rw-r--r--src/plugins/projectexplorer/gccparser.h4
-rw-r--r--src/plugins/projectexplorer/ibuildparser.cpp (renamed from src/plugins/projectexplorer/buildparserinterface.cpp)2
-rw-r--r--src/plugins/projectexplorer/ibuildparser.h (renamed from src/plugins/projectexplorer/buildparserinterface.h)12
-rw-r--r--src/plugins/projectexplorer/metatypedeclarations.h4
-rw-r--r--src/plugins/projectexplorer/msvcparser.h4
-rw-r--r--src/plugins/projectexplorer/projectexplorer.pro4
-rw-r--r--src/plugins/projectexplorer/taskwindow.h2
-rw-r--r--src/plugins/qt4projectmanager/makestep.cpp2
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/abldparser.cpp1
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/abldparser.h6
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/rvctparser.h4
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/s60buildparserfactory.cpp2
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/s60buildparserfactory.h4
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/winscwparser.h4
18 files changed, 34 insertions, 35 deletions
diff --git a/src/plugins/projectexplorer/abstractmakestep.h b/src/plugins/projectexplorer/abstractmakestep.h
index 813349c704..87c2ea7da9 100644
--- a/src/plugins/projectexplorer/abstractmakestep.h
+++ b/src/plugins/projectexplorer/abstractmakestep.h
@@ -65,7 +65,7 @@ private slots:
private:
Project *m_project;
QString m_buildParserName;
- ProjectExplorer::BuildParserInterface *m_buildParser;
+ ProjectExplorer::IBuildParser *m_buildParser;
QString m_buildConfiguration;
QSet<QString> m_openDirectories;
};
diff --git a/src/plugins/projectexplorer/buildparserfactory.cpp b/src/plugins/projectexplorer/buildparserfactory.cpp
index bc47459c64..e4b8895eae 100644
--- a/src/plugins/projectexplorer/buildparserfactory.cpp
+++ b/src/plugins/projectexplorer/buildparserfactory.cpp
@@ -44,7 +44,7 @@ bool GccParserFactory::canCreate(const QString & name) const
return (name == Constants::BUILD_PARSER_GCC);
}
-ProjectExplorer::BuildParserInterface * GccParserFactory::create(const QString & name) const
+ProjectExplorer::IBuildParser * GccParserFactory::create(const QString & name) const
{
Q_UNUSED(name)
return new GccParser();
@@ -59,7 +59,7 @@ bool MsvcParserFactory::canCreate(const QString & name) const
return (name == Constants::BUILD_PARSER_MSVC);
}
-ProjectExplorer::BuildParserInterface * MsvcParserFactory::create(const QString & name) const
+ProjectExplorer::IBuildParser * MsvcParserFactory::create(const QString & name) const
{
Q_UNUSED(name)
return new MsvcParser();
diff --git a/src/plugins/projectexplorer/buildparserfactory.h b/src/plugins/projectexplorer/buildparserfactory.h
index 8f9f0819b7..e29570f2ba 100644
--- a/src/plugins/projectexplorer/buildparserfactory.h
+++ b/src/plugins/projectexplorer/buildparserfactory.h
@@ -30,7 +30,7 @@
#ifndef BUILDPARSERFACTORY_H
#define BUILDPARSERFACTORY_H
-#include <projectexplorer/buildparserinterface.h>
+#include <projectexplorer/ibuildparser.h>
namespace ProjectExplorer {
namespace Internal {
@@ -42,7 +42,7 @@ public:
GccParserFactory() {}
virtual ~GccParserFactory();
virtual bool canCreate(const QString & name) const;
- virtual ProjectExplorer::BuildParserInterface * create(const QString & name) const;
+ virtual ProjectExplorer::IBuildParser * create(const QString & name) const;
};
class MsvcParserFactory : public ProjectExplorer::IBuildParserFactory
@@ -52,7 +52,7 @@ public:
MsvcParserFactory() {}
virtual ~MsvcParserFactory();
virtual bool canCreate(const QString & name) const;
- virtual ProjectExplorer::BuildParserInterface * create(const QString & name) const;
+ virtual ProjectExplorer::IBuildParser * create(const QString & name) const;
};
} // namespace Internal
diff --git a/src/plugins/projectexplorer/buildstep.h b/src/plugins/projectexplorer/buildstep.h
index 2fbdae915f..4943965f06 100644
--- a/src/plugins/projectexplorer/buildstep.h
+++ b/src/plugins/projectexplorer/buildstep.h
@@ -30,7 +30,7 @@
#ifndef BUILDSTEP_H
#define BUILDSTEP_H
-#include "buildparserinterface.h"
+#include "ibuildparser.h"
#include "projectexplorer_export.h"
#include <QtGui/QWidget>
diff --git a/src/plugins/projectexplorer/gccparser.h b/src/plugins/projectexplorer/gccparser.h
index 415ceea197..d65c4854b5 100644
--- a/src/plugins/projectexplorer/gccparser.h
+++ b/src/plugins/projectexplorer/gccparser.h
@@ -30,13 +30,13 @@
#ifndef GCCPARSER_H
#define GCCPARSER_H
-#include "buildparserinterface.h"
+#include "ibuildparser.h"
#include <QtCore/QRegExp>
namespace ProjectExplorer {
-class GccParser : public ProjectExplorer::BuildParserInterface
+class GccParser : public ProjectExplorer::IBuildParser
{
Q_OBJECT
diff --git a/src/plugins/projectexplorer/buildparserinterface.cpp b/src/plugins/projectexplorer/ibuildparser.cpp
index 36e8339009..e60d5aaa1f 100644
--- a/src/plugins/projectexplorer/buildparserinterface.cpp
+++ b/src/plugins/projectexplorer/ibuildparser.cpp
@@ -27,7 +27,7 @@
**
**************************************************************************/
-#include "buildparserinterface.h"
+#include "ibuildparser.h"
using namespace ProjectExplorer;
diff --git a/src/plugins/projectexplorer/buildparserinterface.h b/src/plugins/projectexplorer/ibuildparser.h
index 7b1a55e6e2..40e345b7c9 100644
--- a/src/plugins/projectexplorer/buildparserinterface.h
+++ b/src/plugins/projectexplorer/ibuildparser.h
@@ -27,8 +27,8 @@
**
**************************************************************************/
-#ifndef BUILDPARSERINTERFACE_H
-#define BUILDPARSERINTERFACE_H
+#ifndef IBUILDPARSER_H
+#define IBUILDPARSER_H
#include "projectexplorer_export.h"
@@ -37,11 +37,11 @@
namespace ProjectExplorer {
-class PROJECTEXPLORER_EXPORT BuildParserInterface : public QObject
+class PROJECTEXPLORER_EXPORT IBuildParser : public QObject
{
Q_OBJECT
public:
- virtual ~BuildParserInterface() {}
+ virtual ~IBuildParser() {}
virtual QString name() const = 0;
virtual void stdOutput(const QString & line) = 0;
@@ -63,9 +63,9 @@ public:
IBuildParserFactory() {}
virtual ~IBuildParserFactory();
virtual bool canCreate(const QString & name) const = 0;
- virtual BuildParserInterface * create(const QString & name) const = 0;
+ virtual IBuildParser * create(const QString & name) const = 0;
};
} // namespace ProjectExplorer
-#endif // BUILDPARSERINTERFACE_H
+#endif // IBUILDPARSER_H
diff --git a/src/plugins/projectexplorer/metatypedeclarations.h b/src/plugins/projectexplorer/metatypedeclarations.h
index 29f52b83aa..5a9f9d53df 100644
--- a/src/plugins/projectexplorer/metatypedeclarations.h
+++ b/src/plugins/projectexplorer/metatypedeclarations.h
@@ -41,7 +41,7 @@ class ProjectInterface;
class IProjectManager;
class SessionManager;
class IApplicationOutput;
-class BuildParserInterface;
+class IBuildParser;
class GlobalConfigManagerInterface;
namespace Internal {
@@ -59,7 +59,7 @@ Q_DECLARE_METATYPE(ProjectExplorer::IProjectManager*)
Q_DECLARE_METATYPE(ProjectExplorer::IApplicationOutput*)
Q_DECLARE_METATYPE(ProjectExplorer::Internal::CommandQObject*)
Q_DECLARE_METATYPE(QList<ProjectExplorer::Internal::CommandQObject*>)
-Q_DECLARE_METATYPE(ProjectExplorer::BuildParserInterface*)
+Q_DECLARE_METATYPE(ProjectExplorer::IBuildParser*)
Q_DECLARE_METATYPE(ProjectExplorer::GlobalConfigManagerInterface*)
#endif // PROJECTEXPLORERMETATYPEDECLARATIONS_H
diff --git a/src/plugins/projectexplorer/msvcparser.h b/src/plugins/projectexplorer/msvcparser.h
index c6aed2886a..d3e718a79a 100644
--- a/src/plugins/projectexplorer/msvcparser.h
+++ b/src/plugins/projectexplorer/msvcparser.h
@@ -30,14 +30,14 @@
#ifndef MSVCPARSER_H
#define MSVCPARSER_H
-#include "buildparserinterface.h"
+#include "ibuildparser.h"
#include "taskwindow.h"
#include <QtCore/QRegExp>
namespace ProjectExplorer {
-class MsvcParser : public ProjectExplorer::BuildParserInterface
+class MsvcParser : public ProjectExplorer::IBuildParser
{
Q_OBJECT
diff --git a/src/plugins/projectexplorer/projectexplorer.pro b/src/plugins/projectexplorer/projectexplorer.pro
index 8382fcffc7..e0cf043e2b 100644
--- a/src/plugins/projectexplorer/projectexplorer.pro
+++ b/src/plugins/projectexplorer/projectexplorer.pro
@@ -19,7 +19,7 @@ HEADERS += projectexplorer.h \
session.h \
dependenciespanel.h \
allprojectsfilter.h \
- buildparserinterface.h \
+ ibuildparser.h \
projectexplorerconstants.h \
projectexplorersettings.h \
corelistenercheckingforrunningbuild.h \
@@ -84,7 +84,7 @@ SOURCES += projectexplorer.cpp \
pluginfilefactory.cpp \
buildstep.cpp \
buildconfiguration.cpp \
- buildparserinterface.cpp \
+ ibuildparser.cpp \
environment.cpp \
buildsettingspropertiespage.cpp \
environmenteditmodel.cpp \
diff --git a/src/plugins/projectexplorer/taskwindow.h b/src/plugins/projectexplorer/taskwindow.h
index 7fddbcbfba..1b460e5876 100644
--- a/src/plugins/projectexplorer/taskwindow.h
+++ b/src/plugins/projectexplorer/taskwindow.h
@@ -30,7 +30,7 @@
#ifndef TASKWINDOW_H
#define TASKWINDOW_H
-#include "buildparserinterface.h"
+#include "ibuildparser.h"
#include <coreplugin/icontext.h>
#include <coreplugin/ioutputpane.h>
diff --git a/src/plugins/qt4projectmanager/makestep.cpp b/src/plugins/qt4projectmanager/makestep.cpp
index 65b5f4a278..2201f7fdf9 100644
--- a/src/plugins/qt4projectmanager/makestep.cpp
+++ b/src/plugins/qt4projectmanager/makestep.cpp
@@ -38,7 +38,7 @@
#include <QtCore/QFileInfo>
using ProjectExplorer::IBuildParserFactory;
-using ProjectExplorer::BuildParserInterface;
+using ProjectExplorer::IBuildParser;
using ProjectExplorer::Environment;
using ExtensionSystem::PluginManager;
using namespace Qt4ProjectManager;
diff --git a/src/plugins/qt4projectmanager/qt-s60/abldparser.cpp b/src/plugins/qt4projectmanager/qt-s60/abldparser.cpp
index db831deedf..e2d73c5f2a 100644
--- a/src/plugins/qt4projectmanager/qt-s60/abldparser.cpp
+++ b/src/plugins/qt4projectmanager/qt-s60/abldparser.cpp
@@ -31,7 +31,6 @@
#include <utils/qtcassert.h>
#include <projectexplorer/projectexplorerconstants.h>
-#include <projectexplorer/buildparserinterface.h>
#include <projectexplorer/taskwindow.h>
#include <extensionsystem/pluginmanager.h>
diff --git a/src/plugins/qt4projectmanager/qt-s60/abldparser.h b/src/plugins/qt4projectmanager/qt-s60/abldparser.h
index 2a5f616ac1..fad5511e4a 100644
--- a/src/plugins/qt4projectmanager/qt-s60/abldparser.h
+++ b/src/plugins/qt4projectmanager/qt-s60/abldparser.h
@@ -30,13 +30,13 @@
#ifndef ABLDPARSER_H
#define ABLDPARSER_H
-#include <projectexplorer/buildparserinterface.h>
+#include <projectexplorer/ibuildparser.h>
#include <QtCore/QRegExp>
namespace Qt4ProjectManager {
-class AbldParser : public ProjectExplorer::BuildParserInterface
+class AbldParser : public ProjectExplorer::IBuildParser
{
Q_OBJECT
@@ -48,7 +48,7 @@ public:
virtual void stdOutput(const QString & line);
virtual void stdError(const QString & line);
private:
- ProjectExplorer::BuildParserInterface * m_subparser;
+ ProjectExplorer::IBuildParser * m_subparser;
const QString m_name;
QRegExp m_perlIssue;
diff --git a/src/plugins/qt4projectmanager/qt-s60/rvctparser.h b/src/plugins/qt4projectmanager/qt-s60/rvctparser.h
index 9f71c19e01..b1d545a9c4 100644
--- a/src/plugins/qt4projectmanager/qt-s60/rvctparser.h
+++ b/src/plugins/qt4projectmanager/qt-s60/rvctparser.h
@@ -30,13 +30,13 @@
#ifndef RVCTPARSER_H
#define RVCTPARSER_H
-#include <projectexplorer/buildparserinterface.h>
+#include <projectexplorer/ibuildparser.h>
#include <QtCore/QRegExp>
namespace Qt4ProjectManager {
-class RvctParser : public ProjectExplorer::BuildParserInterface
+class RvctParser : public ProjectExplorer::IBuildParser
{
Q_OBJECT
diff --git a/src/plugins/qt4projectmanager/qt-s60/s60buildparserfactory.cpp b/src/plugins/qt4projectmanager/qt-s60/s60buildparserfactory.cpp
index 06e650e394..70befb3a59 100644
--- a/src/plugins/qt4projectmanager/qt-s60/s60buildparserfactory.cpp
+++ b/src/plugins/qt4projectmanager/qt-s60/s60buildparserfactory.cpp
@@ -49,7 +49,7 @@ bool S60ParserFactory::canCreate(const QString & name) const
(name == QLatin1String(ProjectExplorer::Constants::BUILD_PARSER_WINSCW)));
}
-ProjectExplorer::BuildParserInterface * S60ParserFactory::create(const QString & name) const
+ProjectExplorer::IBuildParser * S60ParserFactory::create(const QString & name) const
{
if (name == QLatin1String(ProjectExplorer::Constants::BUILD_PARSER_RVCT))
return new RvctParser();
diff --git a/src/plugins/qt4projectmanager/qt-s60/s60buildparserfactory.h b/src/plugins/qt4projectmanager/qt-s60/s60buildparserfactory.h
index b3ea2e6606..fd162bfbfe 100644
--- a/src/plugins/qt4projectmanager/qt-s60/s60buildparserfactory.h
+++ b/src/plugins/qt4projectmanager/qt-s60/s60buildparserfactory.h
@@ -30,7 +30,7 @@
#ifndef S60BUILDPARSERFACTORY_H
#define S60BUILDPARSERFACTORY_H
-#include <projectexplorer/buildparserinterface.h>
+#include <projectexplorer/ibuildparser.h>
namespace Qt4ProjectManager {
namespace Internal {
@@ -42,7 +42,7 @@ public:
S60ParserFactory() {}
virtual ~S60ParserFactory();
virtual bool canCreate(const QString & name) const;
- virtual ProjectExplorer::BuildParserInterface * create(const QString & name) const;
+ virtual ProjectExplorer::IBuildParser * create(const QString & name) const;
};
} // namespace Internal
diff --git a/src/plugins/qt4projectmanager/qt-s60/winscwparser.h b/src/plugins/qt4projectmanager/qt-s60/winscwparser.h
index 2e4e55de46..5b41db1859 100644
--- a/src/plugins/qt4projectmanager/qt-s60/winscwparser.h
+++ b/src/plugins/qt4projectmanager/qt-s60/winscwparser.h
@@ -30,13 +30,13 @@
#ifndef WINSCWPARSER_H
#define WINSCWPARSER_H
-#include <projectexplorer/buildparserinterface.h>
+#include <projectexplorer/ibuildparser.h>
#include <QtCore/QRegExp>
namespace Qt4ProjectManager {
-class WinscwParser : public ProjectExplorer::BuildParserInterface
+class WinscwParser : public ProjectExplorer::IBuildParser
{
Q_OBJECT