Skip to content

Commit c43de95

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

Some content is hidden

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

59 files changed

+126
-52
lines changed

plugins/robots/checker/twoDModelRunner/reporter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ enum class Level
3737
/// Collects information about the interpretation process and writes it into the given file as JSON report.
3838
class Reporter : public QObject
3939
{
40+
Q_OBJECT
4041
public:
4142
/// Constructor.
4243
/// @param messagesFile If non-empty the information about all error reporter messages will be stored there in JSON.

plugins/robots/common/kitBase/include/kitBase/blocksBase/common/calibrateGyroscopeBlock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ namespace common {
3232
class ROBOTS_KIT_BASE_EXPORT CalibrateGyroscopeBlock :
3333
public kitBase::blocksBase::common::DeviceBlock<kitBase::robotModel::robotParts::GyroscopeSensor>
3434
{
35+
Q_OBJECT
3536
public:
3637
explicit CalibrateGyroscopeBlock(kitBase::robotModel::RobotModelInterface &robotModel);
3738

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

plugins/robots/interpreters/interpreterCore/include/interpreterCore/managers/graphicsWatcherManager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class RobotModelManager;
2828
/// Incapsulates inner operations on managing graphics watcher in the dock window.
2929
class GraphicsWatcherManager : public QObject, public kitBase::DevicesConfigurationProvider
3030
{
31+
Q_OBJECT
3132
public:
3233
/// Constructor.
3334
/// @param parser - blocks parser, used to show values of variables on graphs.

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);

0 commit comments

Comments
 (0)