Skip to content

Commit

Permalink
Fixed an issue with some code classes that could not be created by an…
Browse files Browse the repository at this point in the history
… existing instance of that class
  • Loading branch information
Jmgr committed May 26, 2024
1 parent 95c637e commit 77e666b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion actiontools/include/actiontools/code/color.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace Code
Q_INVOKABLE Color();
Q_INVOKABLE explicit Color(const QString &colorName);
Q_INVOKABLE explicit Color(int red, int green, int blue, int alpha = 255);
Color(const Color &other);
Q_INVOKABLE Color(const Color &other);
Color(const QColor &color);

Color &operator=(Color other);
Expand Down
2 changes: 1 addition & 1 deletion actiontools/include/actiontools/code/image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace Code
Q_ENUM(AlgorithmMethod)

Q_INVOKABLE Image();
Image(const Image &other);
Q_INVOKABLE Image(const Image &other);
Image(const QImage &image);
Q_INVOKABLE Image(const QString &filename);

Expand Down
2 changes: 1 addition & 1 deletion actiontools/include/actiontools/code/point.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Code
public:
Q_INVOKABLE Point();
Q_INVOKABLE Point(int x, int y);
Point(const Point &other);
Q_INVOKABLE Point(const Point &other);
Point(const QPoint &point);

Point &operator=(Point other);
Expand Down
2 changes: 1 addition & 1 deletion actiontools/include/actiontools/code/processhandle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Code
Q_ENUM(Priority)

Q_INVOKABLE ProcessHandle();
explicit ProcessHandle(const ProcessHandle &other);
Q_INVOKABLE explicit ProcessHandle(const ProcessHandle &other);
Q_INVOKABLE explicit ProcessHandle(int processId);

ProcessHandle &operator=(ProcessHandle other);
Expand Down
2 changes: 1 addition & 1 deletion actiontools/include/actiontools/code/rawdata.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace Code

public:
Q_INVOKABLE RawData();
RawData(const RawData &other);
Q_INVOKABLE RawData(const RawData &other);
RawData(const QByteArray &byteArray);

RawData &operator=(RawData other);
Expand Down
2 changes: 1 addition & 1 deletion actiontools/include/actiontools/code/rect.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace Code
public:
Q_INVOKABLE Rect();
Q_INVOKABLE Rect(int left, int top, int width, int height);
Rect(const Rect &other);
Q_INVOKABLE Rect(const Rect &other);
Rect(const QRect &rect);

Rect &operator=(Rect other);
Expand Down
2 changes: 1 addition & 1 deletion actiontools/include/actiontools/code/size.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Code
public:
Q_INVOKABLE Size();
Q_INVOKABLE Size(int width, int height);
Size(const Size &other);
Q_INVOKABLE Size(const Size &other);
Size(const QSize &size);

Size &operator=(Size other);
Expand Down
2 changes: 1 addition & 1 deletion actiontools/include/actiontools/code/window.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace Code
Q_ENUM(Mode)

Q_INVOKABLE Window();
Window(const Window &other);
Q_INVOKABLE Window(const Window &other);
Window(const ActionTools::WindowHandle &windowHandle);

Window &operator=(Window other);
Expand Down

0 comments on commit 77e666b

Please sign in to comment.