r23664 by craig - Remove Q_OBJECT from canvasgestures
scribus-commit
scribus-commit at lists.scribus.net
Sun Apr 26 21:06:36 UTC 2020
Author: craig
Date: Sun Apr 26 21:06:36 2020
New Revision: 23664
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23664
Log:
Remove Q_OBJECT from canvasgestures
Modified:
trunk/Scribus/scribus/canvasgesture.h
trunk/Scribus/scribus/canvasgesture_linemove.h
trunk/Scribus/scribus/canvasgesture_pan.h
trunk/Scribus/scribus/canvasgesture_rectselect.h
trunk/Scribus/scribus/canvasgesture_resize.h
Modified: trunk/Scribus/scribus/canvasgesture.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23664&path=/trunk/Scribus/scribus/canvasgesture.h
==============================================================================
--- trunk/Scribus/scribus/canvasgesture.h (original)
+++ trunk/Scribus/scribus/canvasgesture.h Sun Apr 26 21:06:36 2020
@@ -46,8 +46,6 @@
*/
class SCRIBUS_API CanvasGesture : public CanvasMode
{
- Q_OBJECT
-
protected:
explicit CanvasGesture (CanvasMode* parent) : CanvasMode(parent->view()), m_delegate(parent) {};
explicit CanvasGesture (ScribusView* view) : CanvasMode(view) {};
Modified: trunk/Scribus/scribus/canvasgesture_linemove.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23664&path=/trunk/Scribus/scribus/canvasgesture_linemove.h
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_linemove.h (original)
+++ trunk/Scribus/scribus/canvasgesture_linemove.h Sun Apr 26 21:06:36 2020
@@ -49,8 +49,6 @@
*/
class SCRIBUS_API LineMove : public CanvasGesture
{
- Q_OBJECT
-
public:
explicit LineMove (CanvasMode* parent): CanvasGesture(parent), m_bounds(0,0,0,0) {}
~LineMove() override = default;
Modified: trunk/Scribus/scribus/canvasgesture_pan.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23664&path=/trunk/Scribus/scribus/canvasgesture_pan.h
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_pan.h (original)
+++ trunk/Scribus/scribus/canvasgesture_pan.h Sun Apr 26 21:06:36 2020
@@ -25,7 +25,6 @@
class SCRIBUS_API PanGesture : public CanvasGesture
{
- Q_OBJECT
public:
explicit PanGesture (CanvasMode* parent);
~PanGesture() override = default;
Modified: trunk/Scribus/scribus/canvasgesture_rectselect.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23664&path=/trunk/Scribus/scribus/canvasgesture_rectselect.h
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_rectselect.h (original)
+++ trunk/Scribus/scribus/canvasgesture_rectselect.h Sun Apr 26 21:06:36 2020
@@ -47,8 +47,6 @@
*/
class SCRIBUS_API RectSelect : public CanvasGesture
{
- Q_OBJECT
-
public:
explicit RectSelect (CanvasMode* parent) : CanvasGesture(parent), m_start(0,0), m_selectionRubberBand(nullptr) {};
~RectSelect() override = default;
Modified: trunk/Scribus/scribus/canvasgesture_resize.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23664&path=/trunk/Scribus/scribus/canvasgesture_resize.h
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_resize.h (original)
+++ trunk/Scribus/scribus/canvasgesture_resize.h Sun Apr 26 21:06:36 2020
@@ -46,8 +46,6 @@
*/
class SCRIBUS_API ResizeGesture : public CanvasGesture
{
- Q_OBJECT
-
public:
explicit ResizeGesture (CanvasMode* parent);
~ResizeGesture() override = default;
More information about the scribus-commit
mailing list