Commit 9a924aed authored by dt_'s avatar dt_

Export Qt4BuildConfiguration(Factory), Qt4BaseTarget and Qt4Project

Those classes are needed to implement a custom Qt4BaseTarget derived
class.
parent ee5b2a7d
......@@ -49,7 +49,7 @@ public:
explicit Qt4DesktopTarget(Qt4Project *parent, const QString &id);
virtual ~Qt4DesktopTarget();
Internal::Qt4BuildConfigurationFactory *buildConfigurationFactory() const;
Qt4BuildConfigurationFactory *buildConfigurationFactory() const;
void createApplicationProFiles();
QList<ProjectExplorer::RunConfiguration *> runConfigurationsForNode(ProjectExplorer::Node *n);
......@@ -57,7 +57,7 @@ public:
static QString defaultDisplayName();
private:
Internal::Qt4BuildConfigurationFactory *m_buildConfigurationFactory;
Qt4BuildConfigurationFactory *m_buildConfigurationFactory;
};
} // namespace Internal
......
......@@ -49,7 +49,7 @@ public:
explicit Qt4SimulatorTarget(Qt4Project *parent, const QString &id);
virtual ~Qt4SimulatorTarget();
Internal::Qt4BuildConfigurationFactory *buildConfigurationFactory() const;
Qt4BuildConfigurationFactory *buildConfigurationFactory() const;
void createApplicationProFiles();
QList<ProjectExplorer::RunConfiguration *> runConfigurationsForNode(ProjectExplorer::Node *n);
......@@ -57,7 +57,7 @@ public:
static QString defaultDisplayName();
private:
Internal::Qt4BuildConfigurationFactory *m_buildConfigurationFactory;
Qt4BuildConfigurationFactory *m_buildConfigurationFactory;
};
} // namespace Internal
......
......@@ -57,7 +57,7 @@ public:
explicit AbstractQt4MaemoTarget(Qt4Project *parent, const QString &id);
virtual ~AbstractQt4MaemoTarget();
Internal::Qt4BuildConfigurationFactory *buildConfigurationFactory() const;
Qt4BuildConfigurationFactory *buildConfigurationFactory() const;
void createApplicationProFiles();
QList<ProjectExplorer::RunConfiguration *> runConfigurationsForNode(ProjectExplorer::Node *n);
......
......@@ -50,7 +50,7 @@ public:
explicit Qt4SymbianTarget(Qt4Project *parent, const QString &id);
virtual ~Qt4SymbianTarget();
Internal::Qt4BuildConfigurationFactory *buildConfigurationFactory() const;
Qt4BuildConfigurationFactory *buildConfigurationFactory() const;
QList<ProjectExplorer::ToolChain *> possibleToolChains(ProjectExplorer::BuildConfiguration *bc) const;
......@@ -71,7 +71,7 @@ private:
const QPixmap m_connectedPixmap;
const QPixmap m_disconnectedPixmap;
Internal::Qt4BuildConfigurationFactory *m_buildConfigurationFactory;
Qt4BuildConfigurationFactory *m_buildConfigurationFactory;
};
} // namespace Internal
} // namespace Qt4ProjectManager
......
......@@ -34,6 +34,7 @@
#define QT4BUILDCONFIGURATION_H
#include "qtversionmanager.h"
#include "qt4projectmanager_global.h"
#include <projectexplorer/buildconfiguration.h>
......@@ -46,16 +47,16 @@ namespace Qt4ProjectManager {
class QMakeStep;
class MakeStep;
class Qt4BaseTarget;
class Qt4BuildConfigurationFactory;
namespace Internal {
class Qt4ProFileNode;
class Qt4BuildConfigurationFactory;
}
class Qt4BuildConfiguration : public ProjectExplorer::BuildConfiguration
class QT4PROJECTMANAGER_EXPORT Qt4BuildConfiguration : public ProjectExplorer::BuildConfiguration
{
Q_OBJECT
friend class Internal::Qt4BuildConfigurationFactory;
friend class Qt4BuildConfigurationFactory;
public:
explicit Qt4BuildConfiguration(Qt4BaseTarget *target);
......@@ -168,8 +169,7 @@ private:
Qt4ProjectManager::Internal::Qt4ProFileNode *m_subNodeBuild;
};
namespace Internal {
class Qt4BuildConfigurationFactory : public ProjectExplorer::IBuildConfigurationFactory
class QT4PROJECTMANAGER_EXPORT Qt4BuildConfigurationFactory : public ProjectExplorer::IBuildConfigurationFactory
{
Q_OBJECT
......@@ -205,7 +205,6 @@ private:
QMap<QString, VersionInfo> m_versions;
};
} // namespace Internal
} // namespace Qt4ProjectManager
#endif // QT4BUILDCONFIGURATION_H
......@@ -35,6 +35,7 @@
#include "qt4nodes.h"
#include "qt4target.h"
#include "qt4projectmanager_global.h"
#include <projectexplorer/project.h>
#include <projectexplorer/projectnodes.h>
......@@ -130,7 +131,7 @@ private:
}
class Qt4Project : public ProjectExplorer::Project
class QT4PROJECTMANAGER_EXPORT Qt4Project : public ProjectExplorer::Project
{
Q_OBJECT
......
......@@ -63,7 +63,7 @@ namespace Internal {
class Qt4ProFileNode;
}
class Qt4BaseTarget : public ProjectExplorer::Target
class QT4PROJECTMANAGER_EXPORT Qt4BaseTarget : public ProjectExplorer::Target
{
Q_OBJECT
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment