Commit 5fa34879 authored by dt's avatar dt
Browse files

Move metatype declarations, also clean old ones

parent a417b3d8
...@@ -85,4 +85,6 @@ private: ...@@ -85,4 +85,6 @@ private:
} // namespace ProjectExplorer } // namespace ProjectExplorer
Q_DECLARE_METATYPE(ProjectExplorer::IOutputParser*)
#endif // IOUTPUTPARSER_H #endif // IOUTPUTPARSER_H
...@@ -31,33 +31,15 @@ ...@@ -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); ...@@ -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
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