mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
forward declaration of unique_ptr (#9708)
This commit is contained in:
parent
0a10dc504d
commit
81cfde2ff5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user