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
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
AutotoolsProjectFile(const QString &fileName);
|
||||
};
|
||||
|
||||
@@ -34,7 +34,6 @@ namespace Internal {
|
||||
|
||||
class CMakeFile : public Core::IDocument
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CMakeFile(const Utils::FileName &fileName);
|
||||
|
||||
|
||||
@@ -107,7 +107,6 @@ private:
|
||||
|
||||
class GenericProjectFile : public Core::IDocument
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
GenericProjectFile(GenericProject *parent, QString fileName, GenericProject::RefreshOptions options);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ class QbsProject;
|
||||
|
||||
class QbsProjectFile : public Core::IDocument
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QbsProjectFile(QbsProject *parent, QString fileName);
|
||||
|
||||
|
||||
@@ -238,7 +238,6 @@ private:
|
||||
namespace Internal {
|
||||
class QmakePriFile : public Core::IDocument
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QmakePriFile(QmakePriFileNode *qmakePriFile);
|
||||
|
||||
|
||||
@@ -94,7 +94,6 @@ namespace Internal {
|
||||
|
||||
class QmakeProjectFile : public Core::IDocument
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QmakeProjectFile(const QString &filePath);
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace Internal {
|
||||
|
||||
class QmlProjectFile : public Core::IDocument
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QmlProjectFile(QmlProject *parent, const Utils::FileName &fileName);
|
||||
|
||||
|
||||
@@ -165,7 +165,6 @@ private:
|
||||
|
||||
class ResourceFileWatcher : public Core::IDocument
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ResourceFileWatcher(ResourceTopLevelNode *node);
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace Internal {
|
||||
|
||||
class SubmitEditorFile : public Core::IDocument
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SubmitEditorFile(const VcsBaseSubmitEditorParameters *parameters,
|
||||
VcsBaseSubmitEditor *parent = 0);
|
||||
|
||||
Reference in New Issue
Block a user