Skip to content
Permalink
Browse files

forward declaration of unique_ptr (#9708)

  • Loading branch information
3nids committed Apr 4, 2019
1 parent 0a10dc5 commit 81cfde2ff5987b7d378cbf859635189e3348943b
@@ -38,6 +38,7 @@ Constructor for QgsExpressionLineEdit.

:param parent: parent widget
%End
~QgsExpressionLineEdit();

void setExpressionDialogTitle( const QString &title );
%Docstring
@@ -46,6 +46,8 @@ QgsExpressionLineEdit::QgsExpressionLineEdit( QWidget *parent )
<< QgsExpressionContextUtils::projectScope( QgsProject::instance() );
}

QgsExpressionLineEdit::~QgsExpressionLineEdit() = default;

void QgsExpressionLineEdit::setExpressionDialogTitle( const QString &title )
{
mExpressionDialogTitle = title;
@@ -19,7 +19,6 @@
#include <QWidget>
#include "qgis_sip.h"
#include "qgsexpressioncontext.h"
#include "qgsdistancearea.h"
#include "qgis_gui.h"
#include <memory>

@@ -57,6 +56,7 @@ class GUI_EXPORT QgsExpressionLineEdit : public QWidget
* \param parent parent widget
*/
explicit QgsExpressionLineEdit( QWidget *parent SIP_TRANSFERTHIS = nullptr );
~QgsExpressionLineEdit() override;

/**
* Sets the title used in the expression builder dialog

0 comments on commit 81cfde2

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