forked from qt-creator/qt-creator
Remove unnecessary Q_OBJECT from IDocument subclasses
They don't have signals, properties or translatable strings. Change-Id: Id27df47d1fb8d0530fdf0f5f0d33a2e7b70360af Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
48ef713da3
commit
c860fe2e6e
@@ -44,7 +44,6 @@ namespace Internal {
|
|||||||
*/
|
*/
|
||||||
class AutotoolsProjectFile : public Core::IDocument
|
class AutotoolsProjectFile : public Core::IDocument
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
AutotoolsProjectFile(const QString &fileName);
|
AutotoolsProjectFile(const QString &fileName);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ namespace Internal {
|
|||||||
|
|
||||||
class CMakeFile : public Core::IDocument
|
class CMakeFile : public Core::IDocument
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
CMakeFile(const Utils::FileName &fileName);
|
CMakeFile(const Utils::FileName &fileName);
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,6 @@ private:
|
|||||||
|
|
||||||
class GenericProjectFile : public Core::IDocument
|
class GenericProjectFile : public Core::IDocument
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
GenericProjectFile(GenericProject *parent, QString fileName, GenericProject::RefreshOptions options);
|
GenericProjectFile(GenericProject *parent, QString fileName, GenericProject::RefreshOptions options);
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ class QbsProject;
|
|||||||
|
|
||||||
class QbsProjectFile : public Core::IDocument
|
class QbsProjectFile : public Core::IDocument
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
QbsProjectFile(QbsProject *parent, QString fileName);
|
QbsProjectFile(QbsProject *parent, QString fileName);
|
||||||
|
|
||||||
|
|||||||
@@ -238,7 +238,6 @@ private:
|
|||||||
namespace Internal {
|
namespace Internal {
|
||||||
class QmakePriFile : public Core::IDocument
|
class QmakePriFile : public Core::IDocument
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
QmakePriFile(QmakePriFileNode *qmakePriFile);
|
QmakePriFile(QmakePriFileNode *qmakePriFile);
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,6 @@ namespace Internal {
|
|||||||
|
|
||||||
class QmakeProjectFile : public Core::IDocument
|
class QmakeProjectFile : public Core::IDocument
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
QmakeProjectFile(const QString &filePath);
|
QmakeProjectFile(const QString &filePath);
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ namespace Internal {
|
|||||||
|
|
||||||
class QmlProjectFile : public Core::IDocument
|
class QmlProjectFile : public Core::IDocument
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
QmlProjectFile(QmlProject *parent, const Utils::FileName &fileName);
|
QmlProjectFile(QmlProject *parent, const Utils::FileName &fileName);
|
||||||
|
|
||||||
|
|||||||
@@ -165,7 +165,6 @@ private:
|
|||||||
|
|
||||||
class ResourceFileWatcher : public Core::IDocument
|
class ResourceFileWatcher : public Core::IDocument
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
ResourceFileWatcher(ResourceTopLevelNode *node);
|
ResourceFileWatcher(ResourceTopLevelNode *node);
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ namespace Internal {
|
|||||||
|
|
||||||
class SubmitEditorFile : public Core::IDocument
|
class SubmitEditorFile : public Core::IDocument
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
explicit SubmitEditorFile(const VcsBaseSubmitEditorParameters *parameters,
|
explicit SubmitEditorFile(const VcsBaseSubmitEditorParameters *parameters,
|
||||||
VcsBaseSubmitEditor *parent = 0);
|
VcsBaseSubmitEditor *parent = 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user