Skip to content

Commit cf2b8eb

Browse files
authored
Add some missing Q_OBJECTs (#1892)
* Add some missing Q_OBJECT macros * Tiny refactoring and clean-up * Add translations
1 parent 89b24a2 commit cf2b8eb

File tree

275 files changed

+1805
-224
lines changed

Some content is hidden

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

275 files changed

+1805
-224
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/common/trikKit/src/blocks/details/detectLineBlock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace details {
2424
/// Interpreter implementation for "Detect by Videocamera" block.
2525
class DetectLineBlock : public kitBase::blocksBase::common::DeviceBlock<trik::robotModel::parts::TrikLineSensor>
2626
{
27+
Q_OBJECT
2728
public:
2829
DetectLineBlock(kitBase::robotModel::RobotModelInterface &robotModel);
2930

plugins/robots/common/trikKit/src/blocks/details/drawArcBlock.h

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

2323
class DrawArcBlock : public kitBase::blocksBase::common::DisplayBlock
2424
{
25+
Q_OBJECT
2526
public:
2627
DrawArcBlock(kitBase::robotModel::RobotModelInterface &robotModel);
2728

plugins/robots/common/trikKit/src/blocks/details/drawEllipseBlock.h

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

2323
class DrawEllipseBlock : public kitBase::blocksBase::common::DisplayBlock
2424
{
25+
Q_OBJECT
2526
public:
2627
DrawEllipseBlock(kitBase::robotModel::RobotModelInterface &robotModel);
2728

plugins/robots/common/trikKit/src/blocks/details/drawLineBlock.h

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

2323
class DrawLineBlock : public kitBase::blocksBase::common::DisplayBlock
2424
{
25+
Q_OBJECT
2526
public:
2627
DrawLineBlock(kitBase::robotModel::RobotModelInterface &robotModel);
2728

plugins/robots/common/trikKit/src/blocks/details/drawPixelBlock.h

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

2323
class DrawPixelBlock : public kitBase::blocksBase::common::DisplayBlock
2424
{
25+
Q_OBJECT
2526
public:
2627
DrawPixelBlock(kitBase::robotModel::RobotModelInterface &robotModel);
2728

plugins/robots/common/trikKit/src/blocks/details/drawRectBlock.h

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

2323
class DrawRectBlock : public kitBase::blocksBase::common::DisplayBlock
2424
{
25+
Q_OBJECT
2526
public:
2627
DrawRectBlock(kitBase::robotModel::RobotModelInterface &robotModel);
2728

plugins/robots/common/trikKit/src/blocks/details/initCameraBlock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace details {
2424
/// Interpreter implementation for "Initialize Videocamera" block.
2525
class InitCameraBlock : public kitBase::blocksBase::common::DeviceBlock<trik::robotModel::parts::TrikLineSensor>
2626
{
27+
Q_OBJECT
2728
public:
2829
InitCameraBlock(kitBase::robotModel::RobotModelInterface &robotModel);
2930

plugins/robots/common/trikKit/src/blocks/details/initVideoStreamingBlock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace details {
2424
/// Interpreter implementation for "Enable Video Streaming" block.
2525
class InitVideoStreamingBlock : public kitBase::blocksBase::common::DeviceBlock<trik::robotModel::parts::TrikShell>
2626
{
27+
Q_OBJECT
2728
public:
2829
InitVideoStreamingBlock(kitBase::robotModel::RobotModelInterface &robotModel);
2930

0 commit comments

Comments
 (0)