mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -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
|
:param parent: parent widget
|
||||||
%End
|
%End
|
||||||
|
~QgsExpressionLineEdit();
|
||||||
|
|
||||||
void setExpressionDialogTitle( const QString &title );
|
void setExpressionDialogTitle( const QString &title );
|
||||||
%Docstring
|
%Docstring
|
||||||
|
@ -46,6 +46,8 @@ QgsExpressionLineEdit::QgsExpressionLineEdit( QWidget *parent )
|
|||||||
<< QgsExpressionContextUtils::projectScope( QgsProject::instance() );
|
<< QgsExpressionContextUtils::projectScope( QgsProject::instance() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QgsExpressionLineEdit::~QgsExpressionLineEdit() = default;
|
||||||
|
|
||||||
void QgsExpressionLineEdit::setExpressionDialogTitle( const QString &title )
|
void QgsExpressionLineEdit::setExpressionDialogTitle( const QString &title )
|
||||||
{
|
{
|
||||||
mExpressionDialogTitle = title;
|
mExpressionDialogTitle = title;
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include "qgis_sip.h"
|
#include "qgis_sip.h"
|
||||||
#include "qgsexpressioncontext.h"
|
#include "qgsexpressioncontext.h"
|
||||||
#include "qgsdistancearea.h"
|
|
||||||
#include "qgis_gui.h"
|
#include "qgis_gui.h"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
@ -57,6 +56,7 @@ class GUI_EXPORT QgsExpressionLineEdit : public QWidget
|
|||||||
* \param parent parent widget
|
* \param parent parent widget
|
||||||
*/
|
*/
|
||||||
explicit QgsExpressionLineEdit( QWidget *parent SIP_TRANSFERTHIS = nullptr );
|
explicit QgsExpressionLineEdit( QWidget *parent SIP_TRANSFERTHIS = nullptr );
|
||||||
|
~QgsExpressionLineEdit() override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the title used in the expression builder dialog
|
* Sets the title used in the expression builder dialog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user