Skip to content
Permalink
Browse files

Fix clazy missing Q_OBJECT macro warnings

  • Loading branch information
nyalldawson committed Feb 2, 2018
1 parent bf413bc commit 91a16e4afa592097f56e180445f919064c0267b8
@@ -129,6 +129,8 @@ SET(QGIS_ANALYSIS_MOC_HDRS
network/qgsgraphdirector.h
network/qgsvectorlayerdirector.h

processing/qgsalgorithmfiledownloader.h

vector/geometry_checker/qgsfeaturepool.h
vector/geometry_checker/qgsgeometrychecker.h
vector/geometry_checker/qgsgeometryanglecheck.h
@@ -30,8 +30,10 @@ class QgsProcessingFeedback;
/**
* Native file downloader algorithm.
*/
class QgsFileDownloaderAlgorithm : public QgsProcessingAlgorithm, public QObject
class QgsFileDownloaderAlgorithm : public QObject, public QgsProcessingAlgorithm
{
Q_OBJECT

public:
QgsFileDownloaderAlgorithm() = default;
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
@@ -50,6 +50,8 @@ class QgsQlrDataItemProvider : public QgsDataItemProvider
*/
class QgsQlrDropHandler : public QgsCustomDropHandler
{
Q_OBJECT

public:

QString customUriProviderKey() const override;
@@ -90,6 +92,8 @@ class QgsQptDataItemProvider : public QgsDataItemProvider
*/
class QgsQptDropHandler : public QgsCustomDropHandler
{
Q_OBJECT

public:

QString customUriProviderKey() const override;
@@ -133,6 +137,8 @@ class QgsPyDataItemProvider : public QgsDataItemProvider
*/
class QgsPyDropHandler : public QgsCustomDropHandler
{
Q_OBJECT

public:

QString customUriProviderKey() const override;
@@ -521,6 +521,7 @@ SET(QGIS_GUI_MOC_HDRS
qgsunitselectionwidget.h
qgsuserinputwidget.h
qgsvariableeditorwidget.h
qgsvscrollarea.h
qgsfiledownloaderdialog.h
qgsdatasourcemanagerdialog.h
qgsabstractdatasourcewidget.h
@@ -743,7 +744,6 @@ SET(QGIS_GUI_HDRS
qgswidgetstatehelper_p.h
qgssourceselectprovider.h
qgssourceselectproviderregistry.h
qgsvscrollarea.h

ogr/qgsogrhelperfunctions.h
ogr/qgsnewogrconnection.h
@@ -160,6 +160,8 @@ class GUI_EXPORT QgsLayoutViewRubberBand : public QObject
*/
class GUI_EXPORT QgsLayoutViewRectangularRubberBand : public QgsLayoutViewRubberBand
{
Q_OBJECT

public:

/**
@@ -191,6 +193,8 @@ class GUI_EXPORT QgsLayoutViewRectangularRubberBand : public QgsLayoutViewRubber
*/
class GUI_EXPORT QgsLayoutViewEllipticalRubberBand : public QgsLayoutViewRubberBand
{
Q_OBJECT

public:

/**
@@ -222,6 +226,8 @@ class GUI_EXPORT QgsLayoutViewEllipticalRubberBand : public QgsLayoutViewRubberB
*/
class GUI_EXPORT QgsLayoutViewTriangleRubberBand : public QgsLayoutViewRubberBand
{
Q_OBJECT

public:

/**
@@ -30,6 +30,8 @@
*/
class GUI_EXPORT QgsVScrollArea : public QgsScrollArea
{
Q_OBJECT

public:

/**

0 comments on commit 91a16e4

Please sign in to comment.
You can’t perform that action at this time.