Skip to content

Commit 3c71498

Browse files
committed
Add some missing /TransferThis/ to sip bindings for QObject parents
1 parent f301cb8 commit 3c71498

File tree

83 files changed

+114
-114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+114
-114
lines changed

python/core/composer/qgscomposermodel.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class QgsComposerModel : QAbstractItemModel
2727
* @param composition composition to attach to
2828
* @param parent parent object
2929
*/
30-
explicit QgsComposerModel( QgsComposition* composition, QObject* parent = 0 );
30+
explicit QgsComposerModel( QgsComposition* composition, QObject* parent /TransferThis/ = 0 );
3131

3232
~QgsComposerModel();
3333

python/core/qgsdataitem.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ class QgsDirectoryParamWidget : QTreeWidget
286286
#include <qgsdataitem.h>
287287
%End
288288
public:
289-
QgsDirectoryParamWidget( QString path, QWidget* parent = NULL );
289+
QgsDirectoryParamWidget( QString path, QWidget* parent /TransferThis/ = NULL );
290290

291291
protected:
292292
void mousePressEvent( QMouseEvent* event );

python/core/qgsdbfilterproxymodel.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class QgsDbFilterProxyModel: QSortFilterProxyModel
44
#include <qgsdbfilterproxymodel.h>
55
%End
66
public:
7-
QgsDbFilterProxyModel( QObject* parent = 0 );
7+
QgsDbFilterProxyModel( QObject* parent /TransferThis/ = 0 );
88
~QgsDbFilterProxyModel();
99
/**Calls QSortFilterProxyModel::setFilterWildcard and triggers update*/
1010
void _setFilterWildcard( const QString& pattern );

python/core/qgsvectorlayercache.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class QgsVectorLayerCache : QObject
1414
%End
1515

1616
public:
17-
QgsVectorLayerCache( QgsVectorLayer* layer, int cacheSize, QObject* parent = NULL );
17+
QgsVectorLayerCache( QgsVectorLayer* layer, int cacheSize, QObject* parent /TransferThis/ = NULL );
1818

1919
/**
2020
* Sets the maximum number of features to keep in the cache. Some features will be removed from

python/core/symbology-ng/qgscptcityarchive.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class QgsCptCityBrowserModel : QAbstractItemModel
260260
List // not used anymore
261261
};
262262

263-
QgsCptCityBrowserModel( QObject* parent = 0,
263+
QgsCptCityBrowserModel( QObject* parent /TransferThis/ = 0,
264264
QgsCptCityArchive* archive = QgsCptCityArchive::defaultArchive(),
265265
ViewType Type = Authors );
266266
~QgsCptCityBrowserModel();

python/core/symbology-ng/qgssvgcache.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class QgsSvgCache : QObject
9393

9494
protected:
9595
//! protected constructor
96-
QgsSvgCache( QObject * parent = 0 );
96+
QgsSvgCache( QObject * parent /TransferThis/ = 0 );
9797

9898
/**Creates new cache entry and returns pointer to it
9999
* @param file Absolute or relative path to SVG file. If the path is relative the file is searched by QgsSymbolLayerV2Utils::symbolNameToPath() in SVG paths.

python/gui/attributetable/qgsattributetabledelegate.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class QgsAttributeTableDelegate : QItemDelegate
99
/** Constructor
1010
* @param parent parent object
1111
*/
12-
QgsAttributeTableDelegate( QObject* parent = 0 );
12+
QgsAttributeTableDelegate( QObject* parent /TransferThis/ = 0 );
1313
/** Used to create an editor for when the user tries to
1414
* change the contents of a cell */
1515
QWidget * createEditor(

python/gui/attributetable/qgsattributetablefiltermodel.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class QgsAttributeTableFilterModel: QSortFilterProxyModel, QgsFeatureModel
2121
* @param sourceModel The QgsAttributeTableModel to use as source (mostly referred to as master model)
2222
* @param canvas The mapCanvas. Used to identify the currently visible features.
2323
*/
24-
QgsAttributeTableFilterModel( QgsMapCanvas* canvas, QgsAttributeTableModel* sourceModel, QObject* parent = 0 );
24+
QgsAttributeTableFilterModel( QgsMapCanvas* canvas, QgsAttributeTableModel* sourceModel, QObject* parent /TransferThis/ = 0 );
2525

2626
void setSourceModel( QgsAttributeTableModel* sourceModel );
2727

python/gui/attributetable/qgsattributetableview.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class QgsAttributeTableView : QTableView
55
%End
66

77
public:
8-
QgsAttributeTableView( QWidget* parent = 0 );
8+
QgsAttributeTableView( QWidget* parent /TransferThis/ = 0 );
99
virtual ~QgsAttributeTableView();
1010

1111
virtual void setModel( QgsAttributeTableFilterModel* filterModel );

python/gui/attributetable/qgsdualview.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class QgsDualView : QStackedWidget
2929
* @brief Constructor
3030
* @param parent The parent widget
3131
*/
32-
explicit QgsDualView( QWidget* parent = 0 );
32+
explicit QgsDualView( QWidget* parent /TransferThis/ = 0 );
3333
virtual ~QgsDualView();
3434

3535
/**

python/gui/attributetable/qgsfeaturelistmodel.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class QgsFeatureListModel : QAbstractProxyModel, QgsFeatureModel
1313
};
1414

1515
public:
16-
explicit QgsFeatureListModel( QgsAttributeTableFilterModel *sourceModel, QObject* parent = 0 );
16+
explicit QgsFeatureListModel( QgsAttributeTableFilterModel *sourceModel, QObject* parent /TransferThis/ = 0 );
1717
virtual ~QgsFeatureListModel();
1818

1919
virtual void setSourceModel( QgsAttributeTableFilterModel* sourceModel );

python/gui/attributetable/qgsfeaturelistview.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class QgsFeatureListView : QListView
99
*
1010
* @param parent owner
1111
*/
12-
explicit QgsFeatureListView( QWidget* parent = 0 );
12+
explicit QgsFeatureListView( QWidget* parent /TransferThis/ = 0 );
1313

1414
/**
1515
* Destructor

python/gui/attributetable/qgsfeatureselectionmodel.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class QgsFeatureSelectionModel : QItemSelectionModel
44
#include <attributetable/qgsfeatureselectionmodel.h>
55
%End
66
public:
7-
explicit QgsFeatureSelectionModel( QAbstractItemModel* model, QgsFeatureModel* featureModel, QgsIFeatureSelectionManager* featureSelectionHandler, QObject* parent );
7+
explicit QgsFeatureSelectionModel( QAbstractItemModel* model, QgsFeatureModel* featureModel, QgsIFeatureSelectionManager* featureSelectionHandler, QObject* parent /TransferThis/ );
88

99
/**
1010
* Enables or disables synchronisation to the {@link QgsVectorLayer}

python/gui/attributetable/qgsifeatureselectionmanager.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class QgsIFeatureSelectionManager : QObject
2525
#include <qgsifeatureselectionmanager.h>
2626
%End
2727
public:
28-
QgsIFeatureSelectionManager( QObject* parent );
28+
QgsIFeatureSelectionManager( QObject* parent /TransferThis/ );
2929

3030
/**
3131
* The number of features that are selected in this layer

python/gui/qgsattributedialog.sip

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class QgsAttributeDialog : QDialog
1717
*
1818
* @deprecated
1919
*/
20-
QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, const QgsDistanceArea& myDa, QWidget* parent = 0, bool showDialogButtons = true ) /Deprecated/;
20+
QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, const QgsDistanceArea& myDa, QWidget* parent /TransferThis/ = 0, bool showDialogButtons = true ) /Deprecated/;
2121

2222
/**
2323
* Create an attribute dialog for a given layer and feature
@@ -30,7 +30,7 @@ class QgsAttributeDialog : QDialog
3030
* @param context The context in which this dialog is created
3131
*
3232
*/
33-
QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, QWidget* parent = 0, bool showDialogButtons = true, const QgsAttributeEditorContext& context = QgsAttributeEditorContext() );
33+
QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, QWidget* parent /TransferThis/ = 0, bool showDialogButtons = true, const QgsAttributeEditorContext& context = QgsAttributeEditorContext() );
3434

3535
/** Saves the size and position for the next time
3636
* this dialog box will be used.

python/gui/qgsattributeeditor.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class QgsAttributeEditor : QObject
77
%End
88

99
public:
10-
QgsAttributeEditor( QObject *parent );
10+
QgsAttributeEditor( QObject *parent /TransferThis/ );
1111

1212
/**
1313
* Creates or prepares a attribute editor widget

python/gui/qgsattributeform.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class QgsAttributeForm : QWidget
2020
%End
2121

2222
public:
23-
explicit QgsAttributeForm( QgsVectorLayer* vl, const QgsFeature& feature = QgsFeature(), const QgsAttributeEditorContext& context = QgsAttributeEditorContext(), QWidget *parent = 0 );
23+
explicit QgsAttributeForm( QgsVectorLayer* vl, const QgsFeature& feature = QgsFeature(), const QgsAttributeEditorContext& context = QgsAttributeEditorContext(), QWidget *parent /TransferThis/ = 0 );
2424
~QgsAttributeForm();
2525

2626
const QgsFeature& feature();

python/gui/qgsblendmodecombobox.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class QgsBlendModeComboBox : QComboBox
77
#include <qgsblendmodecombobox.h>
88
%End
99
public:
10-
QgsBlendModeComboBox( QWidget* parent = 0 );
10+
QgsBlendModeComboBox( QWidget* parent /TransferThis/ = 0 );
1111
virtual ~QgsBlendModeComboBox();
1212

1313
//! Function to read the selected blend mode as QPainter::CompositionMode

python/gui/qgsbusyindicatordialog.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class QgsBusyIndicatorDialog : QDialog
1515
* @param parent parent object (owner)
1616
* @param fl widget flags
1717
*/
18-
QgsBusyIndicatorDialog( const QString& message = "", QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
18+
QgsBusyIndicatorDialog( const QString& message = "", QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
1919
~QgsBusyIndicatorDialog();
2020

2121
QString message() const;

python/gui/qgscharacterselectdialog.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class QgsCharacterSelectorDialog : QDialog
44
#include <qgscharacterselectdialog.h>
55
%End
66
public:
7-
QgsCharacterSelectorDialog( QWidget* parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
7+
QgsCharacterSelectorDialog( QWidget* parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
88
~QgsCharacterSelectorDialog();
99

1010
public slots:

python/gui/qgscollapsiblegroupbox.sip

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class QgsGroupBoxCollapseButton : QToolButton
22
{
33
public:
4-
QgsGroupBoxCollapseButton( QWidget *parent = 0 );
4+
QgsGroupBoxCollapseButton( QWidget *parent /TransferThis/ = 0 );
55

66
~QgsGroupBoxCollapseButton();
77

@@ -31,8 +31,8 @@ class QgsCollapsibleGroupBoxBasic : QGroupBox
3131
#include <qgscollapsiblegroupbox.h>
3232
%End
3333
public:
34-
QgsCollapsibleGroupBoxBasic( QWidget *parent = 0 );
35-
QgsCollapsibleGroupBoxBasic( const QString &title, QWidget *parent = 0 );
34+
QgsCollapsibleGroupBoxBasic( QWidget *parent /TransferThis/ = 0 );
35+
QgsCollapsibleGroupBoxBasic( const QString &title, QWidget *parent /TransferThis/ = 0 );
3636
~QgsCollapsibleGroupBoxBasic();
3737

3838
bool isCollapsed() const;
@@ -89,8 +89,8 @@ class QgsCollapsibleGroupBox : QgsCollapsibleGroupBoxBasic
8989
#include <qgscollapsiblegroupbox.h>
9090
%End
9191
public:
92-
QgsCollapsibleGroupBox( QWidget *parent = 0, QSettings* settings = 0 );
93-
QgsCollapsibleGroupBox( const QString &title, QWidget *parent = 0, QSettings* settings = 0 );
92+
QgsCollapsibleGroupBox( QWidget *parent /TransferThis/ = 0, QSettings* settings = 0 );
93+
QgsCollapsibleGroupBox( const QString &title, QWidget *parent /TransferThis/ = 0, QSettings* settings = 0 );
9494
~QgsCollapsibleGroupBox();
9595

9696
// set custom QSettings pointer if group box was already created from QtDesigner promotion

python/gui/qgscolorbutton.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class QgsColorButton: QPushButton
2121
* @param cdo Options for the color chooser dialog
2222
* @note changed in 1.9
2323
*/
24-
QgsColorButton( QWidget *parent = 0, QString cdt = "", QColorDialog::ColorDialogOptions cdo = 0 );
24+
QgsColorButton( QWidget *parent /TransferThis/ = 0, QString cdt = "", QColorDialog::ColorDialogOptions cdo = 0 );
2525
~QgsColorButton();
2626

2727
/**

python/gui/qgscolorswatchgrid.sip

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class QgsColorSwatchGrid : QWidget
1919
* @param context context string provided to color scheme
2020
* @param parent parent widget
2121
*/
22-
QgsColorSwatchGrid( QgsColorScheme* scheme, QString context = QString(), QWidget *parent = 0 );
22+
QgsColorSwatchGrid( QgsColorScheme* scheme, QString context = QString(), QWidget *parent /TransferThis/ = 0 );
2323

2424
virtual ~QgsColorSwatchGrid();
2525

@@ -111,7 +111,7 @@ class QgsColorSwatchGridAction: QWidgetAction
111111
* @param context context string provided to color scheme
112112
* @param parent parent widget
113113
*/
114-
QgsColorSwatchGridAction( QgsColorScheme* scheme, QMenu* menu = 0, QString context = QString(), QWidget *parent = 0 );
114+
QgsColorSwatchGridAction( QgsColorScheme* scheme, QMenu* menu = 0, QString context = QString(), QWidget *parent /TransferThis/ = 0 );
115115

116116
virtual ~QgsColorSwatchGridAction();
117117

python/gui/qgscomposerview.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class QgsComposerView : QGraphicsView
6161
ActiveUntilMouseRelease
6262
};
6363

64-
QgsComposerView( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags f = 0 );
64+
QgsComposerView( QWidget* parent /TransferThis/ = 0, const char* name = 0, Qt::WindowFlags f = 0 );
6565

6666
/**Add an item group containing the selected items*/
6767
void groupItems();

python/gui/qgscredentialdialog.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class QgsCredentialDialog : QDialog, QgsCredentials
88
%End
99

1010
public:
11-
QgsCredentialDialog( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
11+
QgsCredentialDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
1212
~QgsCredentialDialog();
1313

1414
protected:

python/gui/qgsdatadefinedbutton.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class QgsDataDefinedButton : QToolButton
2222
* @param datatypes The expected data types to be compared against the variant type of the QgsField from data source and expression result
2323
* @param description The description of expected input data
2424
*/
25-
QgsDataDefinedButton( QWidget* parent = 0,
25+
QgsDataDefinedButton( QWidget* parent /TransferThis/ = 0,
2626
const QgsVectorLayer* vl = 0,
2727
const QgsDataDefined* datadefined = 0,
2828
DataTypes datatypes = AnyType,

python/gui/qgsdetaileditemdelegate.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class QgsDetailedItemDelegate : QAbstractItemDelegate
1010
%End
1111

1212
public:
13-
QgsDetailedItemDelegate( QObject * parent = 0 );
13+
QgsDetailedItemDelegate( QObject * parent /TransferThis/ = 0 );
1414
~QgsDetailedItemDelegate();
1515
/** reimplement for parent class */
1616
void paint( QPainter * thePainter,

python/gui/qgsdetaileditemwidget.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class QgsDetailedItemWidget : QWidget
44
#include <qgsdetaileditemwidget.h>
55
%End
66
public:
7-
QgsDetailedItemWidget( QWidget * parent = 0 );
7+
QgsDetailedItemWidget( QWidget * parent /TransferThis/ = 0 );
88
~QgsDetailedItemWidget();
99
void setData( QgsDetailedItemData theData );
1010
void setChecked( bool theFlag );

python/gui/qgsdialog.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class QgsDialog : QDialog
88
%End
99

1010
public:
11-
QgsDialog( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags,
11+
QgsDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags,
1212
QDialogButtonBox::StandardButtons buttons = QDialogButtonBox::Close,
1313
Qt::Orientation orientation = Qt::Horizontal );
1414
~QgsDialog();

python/gui/qgsencodingfiledialog.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class QgsEncodingFileDialog : QFileDialog
77
%End
88

99
public:
10-
QgsEncodingFileDialog( QWidget * parent = 0,
10+
QgsEncodingFileDialog( QWidget * parent /TransferThis/ = 0,
1111
const QString & caption = QString(), const QString & directory = QString(),
1212
const QString & filter = QString(), const QString & encoding = QString() );
1313
~QgsEncodingFileDialog();

python/gui/qgserrordialog.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class QgsErrorDialog : QDialog
44
#include <qgserrordialog.h>
55
%End
66
public:
7-
QgsErrorDialog( const QgsError & theError, const QString & theTitle, QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
7+
QgsErrorDialog( const QgsError & theError, const QString & theTitle, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
88
~QgsErrorDialog();
99

1010
/** Show dialog with error

python/gui/qgsexpressionbuilderdialog.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class QgsExpressionBuilderDialog : QDialog
88
%End
99

1010
public:
11-
QgsExpressionBuilderDialog( QgsVectorLayer* layer, QString startText = QString(), QWidget* parent = NULL, QString key = "generic" );
11+
QgsExpressionBuilderDialog( QgsVectorLayer* layer, QString startText = QString(), QWidget* parent /TransferThis/ = NULL, QString key = "generic" );
1212

1313
/** The builder widget that is used by the dialog */
1414
QgsExpressionBuilderWidget* expressionBuilder();

python/gui/qgsexpressionbuilderwidget.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class QgsExpressionBuilderWidget : QWidget
6969
%End
7070

7171
public:
72-
QgsExpressionBuilderWidget( QWidget *parent );
72+
QgsExpressionBuilderWidget( QWidget *parent /TransferThis/ );
7373
~QgsExpressionBuilderWidget();
7474

7575
/** Sets layer in order to get the fields and values

python/gui/qgsexpressionselectiondialog.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class QgsExpressionSelectionDialog : QDialog
1010
* @param startText A default expression text to be applied (Defaults to empty)
1111
* @param parent parent object (owner)
1212
*/
13-
QgsExpressionSelectionDialog( QgsVectorLayer* layer, QString startText = QString(), QWidget* parent = 0 );
13+
QgsExpressionSelectionDialog( QgsVectorLayer* layer, QString startText = QString(), QWidget* parent /TransferThis/ = 0 );
1414

1515
/**
1616
* The builder widget that is used by the dialog

python/gui/qgsextentgroupbox.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class QgsExtentGroupBox : QgsCollapsibleGroupBox
1414
#include <qgsextentgroupbox.h>
1515
%End
1616
public:
17-
explicit QgsExtentGroupBox( QWidget* parent = 0 );
17+
explicit QgsExtentGroupBox( QWidget* parent /TransferThis/ = 0 );
1818

1919
enum ExtentState
2020
{

python/gui/qgsfiledropedit.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class QgsFileDropEdit: QLineEdit
88
#include <qgsfiledropedit.h>
99
%End
1010
public:
11-
QgsFileDropEdit( QWidget *parent = 0 );
11+
QgsFileDropEdit( QWidget *parent /TransferThis/ = 0 );
1212
virtual ~QgsFileDropEdit();
1313

1414
bool isDirOnly() const;

python/gui/qgsfilterlineedit.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class QgsFilterLineEdit : QLineEdit
77
#include <qgsfilterlineedit.h>
88
%End
99
public:
10-
QgsFilterLineEdit( QWidget* parent = 0, QString nullValue = QString::null );
10+
QgsFilterLineEdit( QWidget* parent /TransferThis/ = 0, QString nullValue = QString::null );
1111

1212
void setNullValue( QString nullValue );
1313

python/gui/qgsgenericprojectionselector.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class QgsGenericProjectionSelector : QDialog //, private Ui::QgsGenericProjectio
2828
/**
2929
* Constructor
3030
*/
31-
QgsGenericProjectionSelector( QWidget *parent = 0,
31+
QgsGenericProjectionSelector( QWidget *parent /TransferThis/ = 0,
3232
Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
3333

3434
//! Destructor

python/gui/qgsludialog.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class QgsLUDialog: QDialog
55
%End
66

77
public:
8-
QgsLUDialog( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
8+
QgsLUDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
99
~QgsLUDialog();
1010
QString lowerValue() const;
1111
void setLowerValue( QString val );

python/gui/qgsmanageconnectionsdialog.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class QgsManageConnectionsDialog : QDialog
2424
// constructor
2525
// mode argument must be 0 for export and 1 for import
2626
// type argument must be 0 for WMS and 1 for PostGIS
27-
QgsManageConnectionsDialog( QWidget *parent = NULL, Mode mode = Export, Type type = WMS, QString fileName = "" );
27+
QgsManageConnectionsDialog( QWidget *parent /TransferThis/ = NULL, Mode mode = Export, Type type = WMS, QString fileName = "" );
2828

2929
public slots:
3030
void doExportImport();

0 commit comments

Comments
 (0)