Skip to content
Permalink
Browse files

Replace reimplemented default methods by = default

Using clang-tidy modernize-use-equals-default
  • Loading branch information
nyalldawson committed Sep 11, 2017
1 parent ba64e3e commit 07e12e28325400b3cc37b6f7a2702fd2c0b61309
Showing with 45 additions and 612 deletions.
  1. +0 −1 python/core/qgsdiagramrenderer.sip
  2. +0 −10 python/core/qgspropertytransformer.sip
  3. +0 −1 python/core/symbology/qgscategorizedsymbolrenderer.sip
  4. +0 −1 python/core/symbology/qgssinglesymbolrenderer.sip
  5. +0 −1 python/gui/attributetable/qgsfeaturelistmodel.sip
  6. +0 −2 python/gui/attributetable/qgsfieldconditionalformatwidget.sip
  7. +0 −1 python/gui/symbology/qgssvgselectorwidget.sip
  8. +0 −4 src/analysis/network/qgsgraph.cpp
  9. +1 −1 src/analysis/network/qgsgraph.h
  10. +0 −4 src/app/composer/qgsatlascompositionwidget.cpp
  11. +0 −1 src/app/composer/qgsatlascompositionwidget.h
  12. +0 −5 src/app/composer/qgscomposerarrowwidget.cpp
  13. +0 −1 src/app/composer/qgscomposerarrowwidget.h
  14. +0 −4 src/app/composer/qgscomposerattributetablewidget.cpp
  15. +0 −1 src/app/composer/qgscomposerattributetablewidget.h
  16. +0 −4 src/app/composer/qgscomposerhtmlwidget.cpp
  17. +0 −1 src/app/composer/qgscomposerhtmlwidget.h
  18. +0 −9 src/app/composer/qgscomposeritemwidget.cpp
  19. +0 −2 src/app/composer/qgscomposeritemwidget.h
  20. +2 −7 src/app/composer/qgscomposerlegendlayersdialog.cpp
  21. +1 −1 src/app/composer/qgscomposerlegendlayersdialog.h
  22. +0 −5 src/app/composer/qgscomposerlegendwidget.cpp
  23. +0 −1 src/app/composer/qgscomposerlegendwidget.h
  24. +0 −4 src/app/composer/qgscomposermapgridwidget.cpp
  25. +0 −1 src/app/composer/qgscomposermapgridwidget.h
  26. +0 −4 src/app/composer/qgscomposermapwidget.cpp
  27. +0 −1 src/app/composer/qgscomposermapwidget.h
  28. +0 −5 src/app/composer/qgscomposerpicturewidget.cpp
  29. +0 −1 src/app/composer/qgscomposerpicturewidget.h
  30. +0 −4 src/app/composer/qgscomposerpolygonwidget.cpp
  31. +0 −1 src/app/composer/qgscomposerpolygonwidget.h
  32. +0 −4 src/app/composer/qgscomposerpolylinewidget.cpp
  33. +0 −1 src/app/composer/qgscomposerpolylinewidget.h
  34. +0 −5 src/app/composer/qgscomposerscalebarwidget.cpp
  35. +0 −1 src/app/composer/qgscomposerscalebarwidget.h
  36. +0 −5 src/app/composer/qgscomposershapewidget.cpp
  37. +0 −1 src/app/composer/qgscomposershapewidget.h
  38. +0 −5 src/app/composer/qgscompositionwidget.cpp
  39. +0 −1 src/app/composer/qgscompositionwidget.h
  40. +0 −5 src/app/pluginmanager/qgsapppluginmanagerinterface.cpp
  41. +0 −2 src/app/pluginmanager/qgsapppluginmanagerinterface.h
  42. +0 −4 src/app/qgisappstylesheet.cpp
  43. +0 −1 src/app/qgisappstylesheet.h
  44. +0 −4 src/app/qgsabout.cpp
  45. +1 −1 src/app/qgsabout.h
  46. +0 −4 src/app/qgsaddtaborgroup.cpp
  47. +0 −1 src/app/qgsaddtaborgroup.h
  48. +0 −4 src/app/qgsannotationwidget.cpp
  49. +0 −1 src/app/qgsannotationwidget.h
  50. +0 −4 src/app/qgsclipboard.cpp
  51. +0 −2 src/app/qgsclipboard.h
  52. +0 −4 src/app/qgscustomization.cpp
  53. +1 −1 src/app/qgscustomization.h
  54. +0 −5 src/app/qgsdecorationitem.cpp
  55. +0 −2 src/app/qgsdecorationitem.h
  56. +0 −4 src/app/qgsdecorationnortharrow.cpp
  57. +0 −2 src/app/qgsdecorationnortharrow.h
  58. +0 −5 src/app/qgsdecorationscalebar.cpp
  59. +0 −2 src/app/qgsdecorationscalebar.h
  60. +0 −4 src/app/qgsdisplayangle.cpp
  61. +0 −1 src/app/qgsdisplayangle.h
  62. +0 −4 src/app/qgsdxfexportdialog.cpp
  63. +0 −1 src/app/qgsdxfexportdialog.h
  64. +0 −5 src/app/qgsformannotationdialog.cpp
  65. +0 −1 src/app/qgsformannotationdialog.h
  66. +0 −8 src/app/qgshandlebadlayers.cpp
  67. +1 −2 src/app/qgshandlebadlayers.h
  68. +0 −5 src/app/qgshtmlannotationdialog.cpp
  69. +0 −1 src/app/qgshtmlannotationdialog.h
  70. +0 −4 src/app/qgsjoindialog.cpp
  71. +0 −1 src/app/qgsjoindialog.h
  72. +0 −4 src/app/qgsmaptooladdfeature.cpp
  73. +1 −1 src/app/qgsmaptooladdfeature.h
  74. +0 −4 src/app/qgsmaptooladdpart.cpp
  75. +1 −1 src/app/qgsmaptooladdpart.h
  76. +0 −4 src/app/qgsmaptooladdring.cpp
  77. +0 −1 src/app/qgsmaptooladdring.h
  78. +0 −4 src/app/qgsmaptoolannotation.cpp
  79. +0 −1 src/app/qgsmaptoolannotation.h
  80. +0 −4 src/app/qgsmaptoolchangelabelproperties.cpp
  81. +0 −1 src/app/qgsmaptoolchangelabelproperties.h
  82. +0 −4 src/app/qgsmaptoolcircularstringcurvepoint.cpp
  83. +0 −1 src/app/qgsmaptoolcircularstringcurvepoint.h
  84. +0 −5 src/app/qgsmaptoolcircularstringradius.cpp
  85. +0 −1 src/app/qgsmaptoolcircularstringradius.h
  86. +0 −4 src/app/qgsmaptoolfeatureaction.cpp
  87. +0 −2 src/app/qgsmaptoolfeatureaction.h
  88. +0 −4 src/app/qgsmaptoolfillring.cpp
  89. +0 −1 src/app/qgsmaptoolfillring.h
  90. +0 −5 src/app/qgsmaptoolformannotation.cpp
  91. +0 −1 src/app/qgsmaptoolformannotation.h
  92. +0 −5 src/app/qgsmaptoolhtmlannotation.cpp
  93. +0 −1 src/app/qgsmaptoolhtmlannotation.h
  94. +0 −4 src/app/qgsmaptoolmovelabel.cpp
  95. +0 −1 src/app/qgsmaptoolmovelabel.h
  96. +0 −4 src/app/qgsmaptoolreshape.cpp
  97. +0 −1 src/app/qgsmaptoolreshape.h
  98. +0 −4 src/app/qgsmaptoolrotatefeature.cpp
  99. +0 −2 src/app/qgsmaptoolrotatefeature.h
  100. +0 −5 src/app/qgsmaptoolsplitfeatures.cpp
  101. +0 −1 src/app/qgsmaptoolsplitfeatures.h
  102. +0 −5 src/app/qgsmaptoolsplitparts.cpp
  103. +0 −1 src/app/qgsmaptoolsplitparts.h
  104. +0 −5 src/app/qgsmaptoolsvgannotation.cpp
  105. +0 −1 src/app/qgsmaptoolsvgannotation.h
  106. +0 −5 src/app/qgsmaptooltextannotation.cpp
  107. +0 −1 src/app/qgsmaptooltextannotation.h
  108. +0 −5 src/app/qgspointrotationitem.cpp
  109. +0 −1 src/app/qgspointrotationitem.h
  110. +0 −4 src/app/qgsrelationmanagerdialog.cpp
  111. +0 −1 src/app/qgsrelationmanagerdialog.h
  112. +0 −4 src/app/qgssnappinglayertreemodel.cpp
  113. +0 −1 src/app/qgssnappinglayertreemodel.h
  114. +0 −5 src/app/qgsstatisticalsummarydockwidget.cpp
  115. +0 −1 src/app/qgsstatisticalsummarydockwidget.h
  116. +0 −4 src/app/qgsstatusbarmagnifierwidget.cpp
  117. +0 −3 src/app/qgsstatusbarmagnifierwidget.h
  118. +0 −4 src/app/qgsstatusbarscalewidget.cpp
  119. +0 −3 src/app/qgsstatusbarscalewidget.h
  120. +0 −5 src/app/qgssvgannotationdialog.cpp
  121. +0 −1 src/app/qgssvgannotationdialog.h
  122. +0 −5 src/app/qgsvectorlayerproperties.cpp
  123. +1 −1 src/app/qgsvectorlayerproperties.h
  124. +0 −7 src/core/diagram/qgsdiagram.cpp
  125. +1 −1 src/core/diagram/qgsdiagram.h
  126. +0 −6 src/core/fieldformatter/qgsvaluerelationfieldformatter.cpp
  127. +1 −1 src/core/fieldformatter/qgsvaluerelationfieldformatter.h
  128. +0 −4 src/core/gps/qgsgpsconnectionregistry.cpp
  129. +1 −1 src/core/gps/qgsgpsconnectionregistry.h
  130. +0 −5 src/core/qgscolorscheme.cpp
  131. +1 −1 src/core/qgscolorscheme.h
  132. +0 −4 src/core/qgscolorschemeregistry.cpp
  133. +1 −1 src/core/qgscolorschemeregistry.h
  134. +0 −4 src/core/qgscredentials.cpp
  135. +1 −1 src/core/qgscredentials.h
  136. +0 −4 src/core/qgscrscache.cpp
  137. +1 −1 src/core/qgscrscache.h
  138. +0 −3 src/core/qgsdatadefinedsizelegend.cpp
  139. +1 −1 src/core/qgsdatadefinedsizelegend.h
  140. +1 −2 src/core/qgsdiagramrenderer.h
  141. +0 −3 src/core/qgsexpressionfieldbuffer.cpp
  142. +1 −1 src/core/qgsexpressionfieldbuffer.h
  143. +0 −3 src/core/qgsfeaturestore.cpp
  144. +1 −1 src/core/qgsfeaturestore.h
  145. +0 −3 src/core/qgsgmlschema.cpp
  146. +1 −1 src/core/qgsgmlschema.h
  147. +0 −4 src/core/qgslabelsearchtree.cpp
  148. +1 −1 src/core/qgslabelsearchtree.h
  149. +0 −4 src/core/qgsmapdecoration.cpp
  150. +1 −1 src/core/qgsmapdecoration.h
  151. +0 −4 src/core/qgsmaplayerstylemanager.cpp
  152. +1 −1 src/core/qgsmaplayerstylemanager.h
  153. +0 −4 src/core/qgsmimedatautils.cpp
  154. +1 −1 src/core/qgsmimedatautils.h
  155. +1 −1 src/core/qgsnetworkaccessmanager.cpp
  156. +0 −4 src/core/qgsobjectcustomproperties.cpp
  157. +1 −1 src/core/qgsobjectcustomproperties.h
  158. +0 −4 src/core/qgspluginlayerregistry.cpp
  159. +1 −1 src/core/qgspluginlayerregistry.h
  160. +0 −3 src/core/qgspropertycollection.cpp
  161. +1 −1 src/core/qgspropertycollection.h
  162. +0 −38 src/core/qgspropertytransformer.cpp
  163. +0 −12 src/core/qgspropertytransformer.h
  164. +0 −5 src/core/qgsreadwritecontext.cpp
  165. +1 −1 src/core/qgsreadwritecontext.h
  166. +0 −6 src/core/qgsruntimeprofiler.cpp
  167. +1 −1 src/core/qgsruntimeprofiler.h
  168. +1 −1 src/core/qgssqlstatement.cpp
  169. +0 −5 src/core/qgsstacktrace.cpp
  170. +1 −1 src/core/qgsstacktrace.h
  171. +1 −1 src/core/qgstracer.cpp
  172. +0 −4 src/core/qgstrackedvectorlayertools.cpp
  173. +1 −1 src/core/qgstrackedvectorlayertools.h
  174. +0 −4 src/core/raster/qgsbilinearrasterresampler.cpp
  175. +1 −1 src/core/raster/qgsbilinearrasterresampler.h
  176. +0 −4 src/core/raster/qgsrasterpipe.cpp
  177. +1 −1 src/core/raster/qgsrasterpipe.h
  178. +0 −5 src/core/raster/qgsrastertransparency.cpp
  179. +1 −1 src/core/raster/qgsrastertransparency.h
  180. +0 −4 src/core/symbology/qgscategorizedsymbolrenderer.cpp
  181. +0 −1 src/core/symbology/qgscategorizedsymbolrenderer.h
  182. +0 −4 src/core/symbology/qgssinglesymbolrenderer.cpp
  183. +0 −1 src/core/symbology/qgssinglesymbolrenderer.h
  184. +0 −4 src/gui/attributetable/qgsfeaturelistmodel.cpp
  185. +0 −1 src/gui/attributetable/qgsfeaturelistmodel.h
  186. +0 −4 src/gui/attributetable/qgsfieldconditionalformatwidget.cpp
  187. +0 −2 src/gui/attributetable/qgsfieldconditionalformatwidget.h
  188. +0 −4 src/gui/editorwidgets/core/qgseditorwidgetregistry.cpp
  189. +1 −1 src/gui/editorwidgets/core/qgseditorwidgetregistry.h
  190. +0 −6 src/gui/qgisinterface.cpp
  191. +1 −1 src/gui/qgisinterface.h
  192. +1 −3 src/gui/qgsmapcanvas.cpp
  193. +0 −4 src/gui/qgspluginmanagerinterface.cpp
  194. +1 −1 src/gui/qgspluginmanagerinterface.h
  195. +0 −4 src/gui/symbology/qgssvgselectorwidget.cpp
  196. +0 −1 src/gui/symbology/qgssvgselectorwidget.h
  197. +0 −4 src/gui/symbology/qgssymbolwidgetcontext.cpp
  198. +1 −1 src/gui/symbology/qgssymbolwidgetcontext.h
  199. +0 −5 src/providers/gdal/qgsgdalsourceselect.cpp
  200. +0 −2 src/providers/gdal/qgsgdalsourceselect.h
  201. +0 −5 src/providers/ogr/qgsgeopackagedataitems.cpp
  202. +0 −1 src/providers/ogr/qgsgeopackagedataitems.h
  203. +1 −6 src/providers/postgres/qgspgnewconnection.cpp
  204. +0 −2 src/providers/postgres/qgspgnewconnection.h
@@ -11,7 +11,6 @@




class QgsDiagramLayerSettings
{
%Docstring
@@ -339,11 +339,6 @@ class QgsGenericNumericTransformer : QgsPropertyTransformer
\param exponent optional exponential for non-linear scaling
%End

QgsGenericNumericTransformer( const QgsGenericNumericTransformer &other );
%Docstring
Copy constructor.
%End

virtual Type transformerType() const;
virtual QgsGenericNumericTransformer *clone() const /Factory/;
virtual QVariant toVariant() const;
@@ -475,11 +470,6 @@ class QgsSizeScaleTransformer : QgsPropertyTransformer
\param exponent exponent for Exponential scaling method
%End

QgsSizeScaleTransformer( const QgsSizeScaleTransformer &other );
%Docstring
Copy constructor.
%End

virtual Type transformerType() const;
virtual QgsSizeScaleTransformer *clone() const /Factory/;
virtual QVariant toVariant() const;
@@ -78,7 +78,6 @@ class QgsCategorizedSymbolRenderer : QgsFeatureRenderer
public:

QgsCategorizedSymbolRenderer( const QString &attrName = QString(), const QgsCategoryList &categories = QgsCategoryList() );
~QgsCategorizedSymbolRenderer();

virtual QgsSymbol *symbolForFeature( QgsFeature &feature, QgsRenderContext &context );
virtual QgsSymbol *originalSymbolForFeature( QgsFeature &feature, QgsRenderContext &context );
@@ -17,7 +17,6 @@ class QgsSingleSymbolRenderer : QgsFeatureRenderer
public:

QgsSingleSymbolRenderer( QgsSymbol *symbol /Transfer/ );
~QgsSingleSymbolRenderer();

virtual QgsSymbol *symbolForFeature( QgsFeature &feature, QgsRenderContext &context );
virtual QgsSymbol *originalSymbolForFeature( QgsFeature &feature, QgsRenderContext &context );
@@ -34,7 +34,6 @@ class QgsFeatureListModel : QAbstractProxyModel, QgsFeatureModel

public:
explicit QgsFeatureListModel( QgsAttributeTableFilterModel *sourceModel, QObject *parent /TransferThis/ = 0 );
virtual ~QgsFeatureListModel();

virtual void setSourceModel( QgsAttributeTableFilterModel *sourceModel );
QgsVectorLayerCache *layerCache();
@@ -28,8 +28,6 @@ class QgsFieldConditionalFormatWidget : QWidget
\param parent parent widget
%End

~QgsFieldConditionalFormatWidget();

void viewRules();
%Docstring
Switches the widget to the rules page.
@@ -75,7 +75,6 @@ class QgsSvgSelectorWidget : QWidget
%End
public:
QgsSvgSelectorWidget( QWidget *parent /TransferThis/ = 0 );
~QgsSvgSelectorWidget();

QString currentSvgPath() const;
%Docstring
@@ -20,10 +20,6 @@

#include "qgsgraph.h"

QgsGraph::QgsGraph()
{
}

int QgsGraph::addVertex( const QgsPointXY &pt )
{
mGraphVertexes.append( QgsGraphVertex( pt ) );
@@ -131,7 +131,7 @@ class ANALYSIS_EXPORT QgsGraphVertex
class ANALYSIS_EXPORT QgsGraph
{
public:
QgsGraph();
QgsGraph() = default;

// Graph constructing methods

@@ -59,10 +59,6 @@ QgsAtlasCompositionWidget::QgsAtlasCompositionWidget( QWidget *parent, QgsCompos
updateGuiElements();
}

QgsAtlasCompositionWidget::~QgsAtlasCompositionWidget()
{
}

void QgsAtlasCompositionWidget::on_mUseAtlasCheckBox_stateChanged( int state )
{
QgsAtlasComposition *atlasMap = &mComposition->atlasComposition();
@@ -31,7 +31,6 @@ class QgsAtlasCompositionWidget:
Q_OBJECT
public:
QgsAtlasCompositionWidget( QWidget *parent, QgsComposition *c );
~QgsAtlasCompositionWidget();

public slots:
void on_mUseAtlasCheckBox_stateChanged( int state );
@@ -61,11 +61,6 @@ QgsComposerArrowWidget::QgsComposerArrowWidget( QgsComposerArrow *arrow ): QgsCo
}
}

QgsComposerArrowWidget::~QgsComposerArrowWidget()
{

}

void QgsComposerArrowWidget::on_mStrokeWidthSpinBox_valueChanged( double d )
{
if ( !mArrow )
@@ -28,7 +28,6 @@ class QgsComposerArrowWidget: public QgsComposerItemBaseWidget, private Ui::QgsC
Q_OBJECT
public:
explicit QgsComposerArrowWidget( QgsComposerArrow *arrow );
~QgsComposerArrowWidget();

private:
QgsComposerArrow *mArrow = nullptr;
@@ -114,10 +114,6 @@ QgsComposerAttributeTableWidget::QgsComposerAttributeTableWidget( QgsComposerAtt
connect( mContentFontToolButton, &QgsFontButton::changed, this, &QgsComposerAttributeTableWidget::contentFontChanged );
}

QgsComposerAttributeTableWidget::~QgsComposerAttributeTableWidget()
{
}

void QgsComposerAttributeTableWidget::on_mRefreshPushButton_clicked()
{
if ( !mComposerTable )
@@ -29,7 +29,6 @@ class QgsComposerAttributeTableWidget: public QgsComposerItemBaseWidget, private
Q_OBJECT
public:
QgsComposerAttributeTableWidget( QgsComposerAttributeTableV2 *table, QgsComposerFrame *frame );
~QgsComposerAttributeTableWidget();

private:
QgsComposerAttributeTableV2 *mComposerTable = nullptr;
@@ -76,10 +76,6 @@ QgsComposerHtmlWidget::QgsComposerHtmlWidget()
{
}

QgsComposerHtmlWidget::~QgsComposerHtmlWidget()
{
}

void QgsComposerHtmlWidget::blockSignals( bool block )
{
mUrlLineEdit->blockSignals( block );
@@ -28,7 +28,6 @@ class QgsComposerHtmlWidget: public QgsComposerItemBaseWidget, private Ui::QgsCo
Q_OBJECT
public:
QgsComposerHtmlWidget( QgsComposerHtml *html, QgsComposerFrame *frame );
~QgsComposerHtmlWidget();

private slots:
void on_mUrlLineEdit_editingFinished();
@@ -40,10 +40,6 @@ QgsComposerConfigObject::QgsComposerConfigObject( QWidget *parent, QgsComposerOb
connect( atlasComposition(), &QgsAtlasComposition::toggled, this, &QgsComposerConfigObject::updateDataDefinedButtons );
}

QgsComposerConfigObject::~QgsComposerConfigObject()
{
}

void QgsComposerConfigObject::updateDataDefinedProperty()
{
//match data defined button to item's data defined property
@@ -183,11 +179,6 @@ QgsComposerItemWidget::QgsComposerItemWidget( QWidget *parent, QgsComposerItem *
connect( mItem->composition(), &QgsComposition::variablesChanged, this, &QgsComposerItemWidget::updateVariables );
}

QgsComposerItemWidget::~QgsComposerItemWidget()
{

}

void QgsComposerItemWidget::showBackgroundGroup( bool showGroup )
{
mBackgroundGroupBox->setVisible( showGroup );
@@ -53,7 +53,6 @@ class QgsComposerConfigObject: public QObject
Q_OBJECT
public:
QgsComposerConfigObject( QWidget *parent, QgsComposerObject *composerObject );
~QgsComposerConfigObject();

/** Registers a data defined button, setting up its initial value, connections and description.
* \param button button to register
@@ -126,7 +125,6 @@ class QgsComposerItemWidget: public QWidget, private Ui::QgsComposerItemWidgetBa
Q_OBJECT
public:
QgsComposerItemWidget( QWidget *parent, QgsComposerItem *item );
~QgsComposerItemWidget();

//! A combination of upper/middle/lower and left/middle/right
QgsComposerItem::ItemPositionMode positionMode() const;
@@ -29,14 +29,9 @@ QgsComposerLegendLayersDialog::QgsComposerLegendLayersDialog( QList<QgsMapLayer
}
}

QgsComposerLegendLayersDialog::QgsComposerLegendLayersDialog(): QDialog( nullptr )
QgsComposerLegendLayersDialog::QgsComposerLegendLayersDialog()
: QDialog( nullptr )
{

}

QgsComposerLegendLayersDialog::~QgsComposerLegendLayersDialog()
{

}

QgsMapLayer *QgsComposerLegendLayersDialog::selectedLayer()
@@ -28,7 +28,7 @@ class QgsComposerLegendLayersDialog: public QDialog, private Ui::QgsComposerLege

public:
QgsComposerLegendLayersDialog( QList<QgsMapLayer *> layers, QWidget *parent = nullptr );
~QgsComposerLegendLayersDialog();

QgsMapLayer *selectedLayer();

private:
@@ -124,11 +124,6 @@ QgsComposerLegendWidget::QgsComposerLegendWidget(): QgsComposerItemBaseWidget( n
setupUi( this );
}

QgsComposerLegendWidget::~QgsComposerLegendWidget()
{

}

void QgsComposerLegendWidget::setGuiElements()
{
if ( !mLegend )
@@ -35,7 +35,6 @@ class QgsComposerLegendWidget: public QgsComposerItemBaseWidget, private Ui::Qgs

public:
explicit QgsComposerLegendWidget( QgsComposerLegend *legend );
~QgsComposerLegendWidget();

//! Updates the legend layers and groups
void updateLegend();
@@ -105,10 +105,6 @@ QgsComposerMapGridWidget::QgsComposerMapGridWidget( QgsComposerMapGrid *mapGrid,
connect( mAnnotationFontButton, &QgsFontButton::changed, this, &QgsComposerMapGridWidget::annotationFontChanged );
}

QgsComposerMapGridWidget::~QgsComposerMapGridWidget()
{
}

void QgsComposerMapGridWidget::populateDataDefinedButtons()
{
// none for now
@@ -31,7 +31,6 @@ class QgsComposerMapGridWidget: public QgsComposerItemBaseWidget, private Ui::Qg

public:
explicit QgsComposerMapGridWidget( QgsComposerMapGrid *mapGrid, QgsComposerMap *composerMap );
virtual ~QgsComposerMapGridWidget();

public slots:

@@ -122,10 +122,6 @@ QgsComposerMapWidget::QgsComposerMapWidget( QgsComposerMap *composerMap )
blockAllSignals( false );
}

QgsComposerMapWidget::~QgsComposerMapWidget()
{
}

void QgsComposerMapWidget::populateDataDefinedButtons()
{
updateDataDefinedButton( mScaleDDBtn );
@@ -34,7 +34,6 @@ class QgsComposerMapWidget: public QgsComposerItemBaseWidget, private Ui::QgsCom

public:
explicit QgsComposerMapWidget( QgsComposerMap *composerMap );
virtual ~QgsComposerMapWidget();

public slots:
void on_mScaleLineEdit_editingFinished();
@@ -85,11 +85,6 @@ QgsComposerPictureWidget::QgsComposerPictureWidget( QgsComposerPicture *picture
registerDataDefinedButton( mStrokeWidthDDBtn, QgsComposerObject::PictureSvgStrokeWidth );
}

QgsComposerPictureWidget::~QgsComposerPictureWidget()
{

}

void QgsComposerPictureWidget::on_mPictureBrowseButton_clicked()
{
QgsSettings s;
@@ -32,7 +32,6 @@ class QgsComposerPictureWidget: public QgsComposerItemBaseWidget, private Ui::Qg

public:
explicit QgsComposerPictureWidget( QgsComposerPicture *picture );
~QgsComposerPictureWidget();

//! Add the icons of the standard directories to the preview
void addStandardDirectoriesToPreview();
@@ -45,10 +45,6 @@ QgsComposerPolygonWidget::QgsComposerPolygonWidget( QgsComposerPolygon *composer
}
}

QgsComposerPolygonWidget::~QgsComposerPolygonWidget()
{
}

void QgsComposerPolygonWidget::on_mPolygonStyleButton_clicked()
{
if ( !mComposerPolygon )
@@ -31,7 +31,6 @@ class QgsComposerPolygonWidget: public QgsComposerItemBaseWidget, private Ui::Qg
Q_OBJECT
public:
explicit QgsComposerPolygonWidget( QgsComposerPolygon *composerPolygon );
~QgsComposerPolygonWidget();

private:
QgsComposerPolygon *mComposerPolygon = nullptr;
@@ -42,10 +42,6 @@ QgsComposerPolylineWidget::QgsComposerPolylineWidget( QgsComposerPolyline *compo
connect( mComposerPolyline, &QgsComposerObject::itemChanged, this, &QgsComposerPolylineWidget::setGuiElementValues );
}

QgsComposerPolylineWidget::~QgsComposerPolylineWidget()
{
}

void QgsComposerPolylineWidget::on_mLineStyleButton_clicked()
{
if ( !mComposerPolyline )
@@ -31,7 +31,6 @@ class QgsComposerPolylineWidget: public QgsComposerItemBaseWidget, private Ui::Q
Q_OBJECT
public:
explicit QgsComposerPolylineWidget( QgsComposerPolyline *composerPolyline );
~QgsComposerPolylineWidget();

private:
QgsComposerPolyline *mComposerPolyline = nullptr;
@@ -104,11 +104,6 @@ QgsComposerScaleBarWidget::QgsComposerScaleBarWidget( QgsComposerScaleBar *scale
connect( mFontButton, &QgsFontButton::changed, this, &QgsComposerScaleBarWidget::fontChanged );
}

QgsComposerScaleBarWidget::~QgsComposerScaleBarWidget()
{

}

void QgsComposerScaleBarWidget::setGuiElements()
{
if ( !mComposerScaleBar )
@@ -31,7 +31,6 @@ class QgsComposerScaleBarWidget: public QgsComposerItemBaseWidget, private Ui::Q

public:
explicit QgsComposerScaleBarWidget( QgsComposerScaleBar *scaleBar );
~QgsComposerScaleBarWidget();

public slots:

@@ -60,11 +60,6 @@ QgsComposerShapeWidget::QgsComposerShapeWidget( QgsComposerShape *composerShape
mShapeStyleButton->setLayer( atlasCoverageLayer() );
}

QgsComposerShapeWidget::~QgsComposerShapeWidget()
{

}

void QgsComposerShapeWidget::blockAllSignals( bool block )
{
mShapeComboBox->blockSignals( block );
@@ -29,7 +29,6 @@ class QgsComposerShapeWidget: public QgsComposerItemBaseWidget, private Ui::QgsC
Q_OBJECT
public:
explicit QgsComposerShapeWidget( QgsComposerShape *composerShape );
~QgsComposerShapeWidget();

private:
QgsComposerShape *mComposerShape = nullptr;

0 comments on commit 07e12e2

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