forked from qt-creator/qt-creator
Move metatype declarations, also clean old ones
This commit is contained in:
@@ -85,4 +85,6 @@ private:
|
|||||||
|
|
||||||
} // namespace ProjectExplorer
|
} // namespace ProjectExplorer
|
||||||
|
|
||||||
|
Q_DECLARE_METATYPE(ProjectExplorer::IOutputParser*)
|
||||||
|
|
||||||
#endif // IOUTPUTPARSER_H
|
#endif // IOUTPUTPARSER_H
|
||||||
|
|||||||
@@ -31,33 +31,15 @@
|
|||||||
#define PROJECTEXPLORERMETATYPEDECLARATIONS_H
|
#define PROJECTEXPLORERMETATYPEDECLARATIONS_H
|
||||||
|
|
||||||
#include <QtCore/QMetaType>
|
#include <QtCore/QMetaType>
|
||||||
#include <QtCore/QList>
|
|
||||||
|
|
||||||
namespace ProjectExplorer {
|
namespace ProjectExplorer {
|
||||||
class ProjectInterface;
|
|
||||||
class IProjectManager;
|
class IProjectManager;
|
||||||
class SessionManager;
|
class SessionManager;
|
||||||
class IApplicationOutput;
|
|
||||||
class IOutputParser;
|
|
||||||
class GlobalConfigManagerInterface;
|
|
||||||
class Project;
|
class Project;
|
||||||
struct Task;
|
|
||||||
|
|
||||||
namespace Internal {
|
|
||||||
class CommandQObject;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QList<ProjectExplorer::Project*>)
|
Q_DECLARE_METATYPE(QList<ProjectExplorer::Project*>)
|
||||||
Q_DECLARE_METATYPE(ProjectExplorer::SessionManager*)
|
Q_DECLARE_METATYPE(ProjectExplorer::SessionManager*)
|
||||||
Q_DECLARE_METATYPE(ProjectExplorer::IProjectManager*)
|
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::IOutputParser*)
|
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(ProjectExplorer::GlobalConfigManagerInterface*)
|
|
||||||
Q_DECLARE_METATYPE(ProjectExplorer::Task)
|
|
||||||
Q_DECLARE_METATYPE(QList<ProjectExplorer::Task>)
|
|
||||||
|
|
||||||
#endif // PROJECTEXPLORERMETATYPEDECLARATIONS_H
|
#endif // PROJECTEXPLORERMETATYPEDECLARATIONS_H
|
||||||
|
|||||||
@@ -144,4 +144,7 @@ uint qHash(const Task &task);
|
|||||||
|
|
||||||
} //namespace ProjectExplorer
|
} //namespace ProjectExplorer
|
||||||
|
|
||||||
|
Q_DECLARE_METATYPE(ProjectExplorer::Task)
|
||||||
|
Q_DECLARE_METATYPE(QList<ProjectExplorer::Task>)
|
||||||
|
|
||||||
#endif // TASKWINDOW_H
|
#endif // TASKWINDOW_H
|
||||||
|
|||||||
Reference in New Issue
Block a user