Skip to content

Commit

Permalink
Fix clazy missing Q_OBJECT macro warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 2, 2018
1 parent bf413bc commit 91a16e4
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/analysis/CMakeLists.txt
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion src/analysis/processing/qgsalgorithmfiledownloader.h
Expand Up @@ -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;
Expand Down
6 changes: 6 additions & 0 deletions src/app/qgsappbrowserproviders.h
Expand Up @@ -50,6 +50,8 @@ class QgsQlrDataItemProvider : public QgsDataItemProvider
*/
class QgsQlrDropHandler : public QgsCustomDropHandler
{
Q_OBJECT

public:

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

public:

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

public:

QString customUriProviderKey() const override;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/CMakeLists.txt
Expand Up @@ -521,6 +521,7 @@ SET(QGIS_GUI_MOC_HDRS
qgsunitselectionwidget.h
qgsuserinputwidget.h
qgsvariableeditorwidget.h
qgsvscrollarea.h
qgsfiledownloaderdialog.h
qgsdatasourcemanagerdialog.h
qgsabstractdatasourcewidget.h
Expand Down Expand Up @@ -743,7 +744,6 @@ SET(QGIS_GUI_HDRS
qgswidgetstatehelper_p.h
qgssourceselectprovider.h
qgssourceselectproviderregistry.h
qgsvscrollarea.h

ogr/qgsogrhelperfunctions.h
ogr/qgsnewogrconnection.h
Expand Down
6 changes: 6 additions & 0 deletions src/gui/layout/qgslayoutviewrubberband.h
Expand Up @@ -160,6 +160,8 @@ class GUI_EXPORT QgsLayoutViewRubberBand : public QObject
*/
class GUI_EXPORT QgsLayoutViewRectangularRubberBand : public QgsLayoutViewRubberBand
{
Q_OBJECT

public:

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

public:

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

public:

/**
Expand Down
2 changes: 2 additions & 0 deletions src/gui/qgsvscrollarea.h
Expand Up @@ -30,6 +30,8 @@
*/
class GUI_EXPORT QgsVScrollArea : public QgsScrollArea
{
Q_OBJECT

public:

/**
Expand Down

0 comments on commit 91a16e4

Please sign in to comment.