Move metatype declarations, also clean old ones

This commit is contained in:
dt
2010-04-09 18:45:57 +02:00
parent a417b3d8ea
commit 5fa348792b
3 changed files with 5 additions and 18 deletions

View File

@@ -85,4 +85,6 @@ private:
} // namespace ProjectExplorer } // namespace ProjectExplorer
Q_DECLARE_METATYPE(ProjectExplorer::IOutputParser*)
#endif // IOUTPUTPARSER_H #endif // IOUTPUTPARSER_H

View File

@@ -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

View File

@@ -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