Skip to content

Commit 8329681

Browse files
committed
Add some missing Q_OBJECT macros
1 parent a4e2271 commit 8329681

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+108
-47
lines changed

plugins/robots/generators/nxt/nxtGeneratorBase/include/nxtGeneratorBase/nxtMasterGeneratorBase.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ namespace nxt {
2323
/// Master generator base implementation for every generator from NXT kit
2424
class ROBOTS_NXT_GENERATOR_BASE_EXPORT NxtMasterGeneratorBase : public generatorBase::MasterGeneratorBase
2525
{
26+
Q_OBJECT
2627
public:
2728
NxtMasterGeneratorBase(const qrRepo::RepoApi &repo
2829
, qReal::ErrorReporterInterface &errorReporter

plugins/robots/generators/nxt/nxtOsekCGenerator/nxtOsekCMasterGenerator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ namespace osekC {
2121

2222
class NxtOsekCMasterGenerator : public NxtMasterGeneratorBase
2323
{
24+
Q_OBJECT
2425
public:
2526
NxtOsekCMasterGenerator(const qrRepo::RepoApi &repo
2627
, qReal::ErrorReporterInterface &errorReporter

qrgui/controller/commands/doNothingCommand.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ namespace commands {
2323
/// having no actions itself
2424
class QRGUI_CONTROLLER_EXPORT DoNothingCommand : public AbstractCommand
2525
{
26+
Q_OBJECT
2627
public:
2728
DoNothingCommand();
2829

qrgui/controller/undoStack.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ namespace qReal {
2222

2323
class UndoStack : public QUndoStack
2424
{
25+
Q_OBJECT
2526
public:
2627
UndoStack(QObject *parent = nullptr);
2728

qrgui/editor/commands/arrangeLinksCommand.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace commands {
2424
/// Arranges links of specified node element
2525
class ArrangeLinksCommand : public ElementCommand
2626
{
27+
Q_OBJECT
2728
public:
2829
ArrangeLinksCommand(const EditorViewScene *scene, const Id &id, bool needAdjusting = false);
2930
ArrangeLinksCommand(const EditorView *view, const Id &id, bool needAdjusting = false);

qrgui/editor/commands/createAndUpdatePatternCommand.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace commands {
2626
/// In other words this command adds view part into the CreateGroupCommand.
2727
class CreateAndUpdatePatternCommand : public qReal::commands::CreatePatternCommand
2828
{
29+
Q_OBJECT
2930
public:
3031
CreateAndUpdatePatternCommand(EditorViewScene &scene
3132
, const models::Models &models

qrgui/editor/commands/edgeElementCommand.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace commands {
2424
/// A base for all commands using concrete edge element instance on some scene
2525
class EdgeElementCommand : public ElementCommand
2626
{
27+
Q_OBJECT
2728
public:
2829
EdgeElementCommand(const EditorViewScene *scene, const Id &id);
2930
EdgeElementCommand(const EditorView *view, const Id &id);

qrgui/editor/commands/expandCommand.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace commands {
2424

2525
class ExpandCommand : public NodeElementCommand
2626
{
27+
Q_OBJECT
2728
public:
2829
ExpandCommand(const NodeElement *node);
2930
virtual ~ExpandCommand();

qrgui/editor/commands/foldCommand.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ namespace commands {
2323

2424
class FoldCommand : public NodeElementCommand
2525
{
26+
Q_OBJECT
2627
public:
2728
FoldCommand(const NodeElement *element);
2829
virtual ~FoldCommand() {}

qrgui/editor/commands/insertIntoEdgeCommand.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ namespace commands {
2727

2828
class InsertIntoEdgeCommand : public qReal::commands::AbstractCommand
2929
{
30+
Q_OBJECT
3031
public:
3132
InsertIntoEdgeCommand(EditorViewScene &scene
3233
, const models::Models &models

0 commit comments

Comments
 (0)