Skip to content
Permalink
Browse files

Pass enums by value

  • Loading branch information
m-kuhn committed Jul 22, 2016
1 parent 82259f8 commit e9b4b0c666da37162092dd6d43fc71e6f9bb8ff3
Showing with 79 additions and 79 deletions.
  1. +1 −1 src/browser/qgsbrowser.cpp
  2. +1 −1 src/browser/qgsbrowser.h
  3. +1 −1 src/core/qgsproviderregistry.cpp
  4. +1 −1 src/core/qgsproviderregistry.h
  5. +1 −1 src/gui/effects/qgseffectstackpropertieswidget.cpp
  6. +1 −1 src/gui/effects/qgseffectstackpropertieswidget.h
  7. +1 −1 src/gui/qgsbusyindicatordialog.cpp
  8. +1 −1 src/gui/qgsbusyindicatordialog.h
  9. +1 −1 src/gui/qgscharacterselectdialog.cpp
  10. +1 −1 src/gui/qgscharacterselectdialog.h
  11. +1 −1 src/gui/qgscolordialog.cpp
  12. +1 −1 src/gui/qgscolordialog.h
  13. +1 −1 src/gui/qgscomposerview.cpp
  14. +1 −1 src/gui/qgscomposerview.h
  15. +1 −1 src/gui/qgscredentialdialog.cpp
  16. +1 −1 src/gui/qgscredentialdialog.h
  17. +1 −1 src/gui/qgsdatumtransformdialog.cpp
  18. +1 −1 src/gui/qgsdatumtransformdialog.h
  19. +1 −1 src/gui/qgsdialog.cpp
  20. +1 −1 src/gui/qgsdialog.h
  21. +2 −2 src/gui/qgserrordialog.cpp
  22. +2 −2 src/gui/qgserrordialog.h
  23. +1 −1 src/gui/qgsgenericprojectionselector.cpp
  24. +1 −1 src/gui/qgsgenericprojectionselector.h
  25. +1 −1 src/gui/qgsgroupwmsdatadialog.cpp
  26. +1 −1 src/gui/qgsgroupwmsdatadialog.h
  27. +1 −1 src/gui/qgsludialog.cpp
  28. +1 −1 src/gui/qgsludialog.h
  29. +1 −1 src/gui/qgsmessagelogviewer.cpp
  30. +1 −1 src/gui/qgsmessagelogviewer.h
  31. +1 −1 src/gui/qgsmessageviewer.cpp
  32. +1 −1 src/gui/qgsmessageviewer.h
  33. +1 −1 src/gui/qgsnewhttpconnection.cpp
  34. +1 −1 src/gui/qgsnewhttpconnection.h
  35. +1 −1 src/gui/qgsnewmemorylayerdialog.cpp
  36. +1 −1 src/gui/qgsnewmemorylayerdialog.h
  37. +1 −1 src/gui/qgsnewnamedialog.cpp
  38. +1 −1 src/gui/qgsnewnamedialog.h
  39. +1 −1 src/gui/qgsnewvectorlayerdialog.cpp
  40. +1 −1 src/gui/qgsnewvectorlayerdialog.h
  41. +1 −1 src/gui/qgsoptionsdialogbase.cpp
  42. +1 −1 src/gui/qgsoptionsdialogbase.h
  43. +1 −1 src/gui/qgsowssourceselect.cpp
  44. +1 −1 src/gui/qgsowssourceselect.h
  45. +1 −1 src/gui/qgsprojectionselector.cpp
  46. +1 −1 src/gui/qgsprojectionselector.h
  47. +1 −1 src/gui/qgsquerybuilder.cpp
  48. +1 −1 src/gui/qgsquerybuilder.h
  49. +1 −1 src/gui/qgsrasterlayersaveasdialog.cpp
  50. +1 −1 src/gui/qgsrasterlayersaveasdialog.h
  51. +1 −1 src/gui/qgssearchquerybuilder.cpp
  52. +1 −1 src/gui/qgssearchquerybuilder.h
  53. +1 −1 src/gui/qgssublayersdialog.cpp
  54. +1 −1 src/gui/qgssublayersdialog.h
  55. +1 −1 src/gui/symbology-ng/qgsdashspacedialog.cpp
  56. +1 −1 src/gui/symbology-ng/qgsdashspacedialog.h
  57. +1 −1 src/gui/symbology-ng/qgssvgselectorwidget.cpp
  58. +1 −1 src/gui/symbology-ng/qgssvgselectorwidget.h
  59. +1 −1 src/helpviewer/qgshelpviewer.cpp
  60. +1 −1 src/helpviewer/qgshelpviewer.h
  61. +17 −17 tests/src/python/acceptable_missing_doc.py
@@ -44,7 +44,7 @@
#define QGIS_ICON_SIZE 24
#endif

QgsBrowser::QgsBrowser( QWidget *parent, const Qt::WindowFlags& flags )
QgsBrowser::QgsBrowser( QWidget *parent, Qt::WindowFlags flags )
: QMainWindow( parent, flags )
, mDirtyMetadata( true )
, mDirtyPreview( true )
@@ -30,7 +30,7 @@ class QgsBrowser : public QMainWindow, private Ui::QgsBrowserBase
{
Q_OBJECT
public:
QgsBrowser( QWidget *parent = nullptr, const Qt::WindowFlags& flags = 0 );
QgsBrowser( QWidget *parent = nullptr, Qt::WindowFlags flags = 0 );
~QgsBrowser();

// Expand to given path
@@ -421,7 +421,7 @@ int QgsProviderRegistry::providerCapabilities( const QString &providerKey ) cons
typedef QWidget * selectFactoryFunction_t( QWidget * parent, Qt::WindowFlags fl );

QWidget* QgsProviderRegistry::selectWidget( const QString & providerKey,
QWidget * parent, const Qt::WindowFlags& fl )
QWidget * parent, Qt::WindowFlags fl )
{
selectFactoryFunction_t * selectFactory =
reinterpret_cast< selectFactoryFunction_t * >( cast_to_fptr( function( providerKey, "selectWidget" ) ) );
@@ -82,7 +82,7 @@ class CORE_EXPORT QgsProviderRegistry
/** Returns a widget for selecting layers from a provider.
*/
QWidget *selectWidget( const QString & providerKey,
QWidget * parent = nullptr, const Qt::WindowFlags& fl = Qt::WindowFlags() );
QWidget * parent = nullptr, Qt::WindowFlags fl = Qt::WindowFlags() );

#if QT_VERSION >= 0x050000
/** Get pointer to provider function
@@ -352,7 +352,7 @@ void QgsEffectStackPropertiesWidget::changeEffect( QgsPaintEffect* newEffect )
// QgsEffectStackPropertiesDialog
//

QgsEffectStackPropertiesDialog::QgsEffectStackPropertiesDialog( QgsEffectStack *stack, QWidget *parent, const Qt::WindowFlags& f )
QgsEffectStackPropertiesDialog::QgsEffectStackPropertiesDialog( QgsEffectStack *stack, QWidget *parent, Qt::WindowFlags f )
: QgsDialog( parent, f, QDialogButtonBox::Ok | QDialogButtonBox::Cancel )
, mPropertiesWidget( nullptr )
{
@@ -155,7 +155,7 @@ class GUI_EXPORT QgsEffectStackPropertiesDialog: public QgsDialog
* @param parent parent widget
* @param f window flags
*/
QgsEffectStackPropertiesDialog( QgsEffectStack* stack, QWidget* parent = nullptr, const Qt::WindowFlags& f = 0 );
QgsEffectStackPropertiesDialog( QgsEffectStack* stack, QWidget* parent = nullptr, Qt::WindowFlags f = 0 );
~QgsEffectStackPropertiesDialog();

/** Returns effect stack attached to the dialog
@@ -22,7 +22,7 @@
#include <QLabel>
#include <QProgressBar>

QgsBusyIndicatorDialog::QgsBusyIndicatorDialog( const QString& message, QWidget* parent, const Qt::WindowFlags& fl )
QgsBusyIndicatorDialog::QgsBusyIndicatorDialog( const QString& message, QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mMessage( QString( message ) )
, mMsgLabel( nullptr )
@@ -38,7 +38,7 @@ class GUI_EXPORT QgsBusyIndicatorDialog : public QDialog
* @param parent parent object (owner)
* @param fl widget flags
*/
QgsBusyIndicatorDialog( const QString& message = "", QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
QgsBusyIndicatorDialog( const QString& message = "", QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsBusyIndicatorDialog();

QString message() const { return mMessage; }
@@ -18,7 +18,7 @@
#include "qgscharacterselectdialog.h"


QgsCharacterSelectorDialog::QgsCharacterSelectorDialog( QWidget *parent, const Qt::WindowFlags& fl )
QgsCharacterSelectorDialog::QgsCharacterSelectorDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mChar( QChar::Null )
{
@@ -33,7 +33,7 @@ class GUI_EXPORT QgsCharacterSelectorDialog : public QDialog, private Ui::QgsCha
Q_OBJECT

public:
QgsCharacterSelectorDialog( QWidget* parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
QgsCharacterSelectorDialog( QWidget* parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsCharacterSelectorDialog();

public slots:
@@ -66,7 +66,7 @@ QColor QgsColorDialog::getLiveColor( const QColor& initialColor, QObject* update
// QgsColorDialogV2
//

QgsColorDialogV2::QgsColorDialogV2( QWidget *parent, const Qt::WindowFlags& fl, const QColor& color )
QgsColorDialogV2::QgsColorDialogV2( QWidget *parent, Qt::WindowFlags fl, const QColor& color )
: QDialog( parent, fl )
, mPreviousColor( color )
, mAllowAlpha( true )
@@ -70,7 +70,7 @@ class GUI_EXPORT QgsColorDialogV2 : public QDialog, private Ui::QgsColorDialogBa
* @param fl window flags
* @param color initial color for dialog
*/
QgsColorDialogV2( QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags,
QgsColorDialogV2( QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags,
const QColor& color = QColor() );

~QgsColorDialogV2();
@@ -52,7 +52,7 @@
#define MIN_VIEW_SCALE 0.05
#define MAX_VIEW_SCALE 1000.0

QgsComposerView::QgsComposerView( QWidget* parent, const char* name, const Qt::WindowFlags& f )
QgsComposerView::QgsComposerView( QWidget* parent, const char* name, Qt::WindowFlags f )
: QGraphicsView( parent )
, mCurrentTool( Select )
, mPreviousTool( Select )
@@ -95,7 +95,7 @@ class GUI_EXPORT QgsComposerView: public QGraphicsView
ActiveUntilMouseRelease
};

QgsComposerView( QWidget* parent = nullptr, const char* name = nullptr, const Qt::WindowFlags& f = 0 );
QgsComposerView( QWidget* parent = nullptr, const char* name = nullptr, Qt::WindowFlags f = 0 );

/** Add an item group containing the selected items*/
void groupItems();
@@ -29,7 +29,7 @@ static QString invalidStyle_( const QString& selector = "QLineEdit" )
return QString( "%1{color: rgb(200, 0, 0);}" ).arg( selector );
}

QgsCredentialDialog::QgsCredentialDialog( QWidget *parent, const Qt::WindowFlags& fl )
QgsCredentialDialog::QgsCredentialDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mOkButton( nullptr )
{
@@ -32,7 +32,7 @@ class GUI_EXPORT QgsCredentialDialog : public QDialog, public QgsCredentials, pr
{
Q_OBJECT
public:
QgsCredentialDialog( QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
QgsCredentialDialog( QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsCredentialDialog();

signals:
@@ -22,7 +22,7 @@
#include <QDir>
#include <QSettings>

QgsDatumTransformDialog::QgsDatumTransformDialog( const QString& layerName, const QList< QList< int > > &dt, QWidget *parent, const Qt::WindowFlags& f )
QgsDatumTransformDialog::QgsDatumTransformDialog( const QString& layerName, const QList< QList< int > > &dt, QWidget *parent, Qt::WindowFlags f )
: QDialog( parent, f )
, mDt( dt )
, mLayerName( layerName )
@@ -28,7 +28,7 @@ class GUI_EXPORT QgsDatumTransformDialog : public QDialog, private Ui::QgsDatumT
{
Q_OBJECT
public:
QgsDatumTransformDialog( const QString& layerName, const QList< QList< int > >& dt, QWidget * parent = nullptr, const Qt::WindowFlags& f = 0 );
QgsDatumTransformDialog( const QString& layerName, const QList< QList< int > >& dt, QWidget * parent = nullptr, Qt::WindowFlags f = 0 );
~QgsDatumTransformDialog();

//! @note added in 2.4
@@ -17,7 +17,7 @@

#include "qgsdialog.h"

QgsDialog::QgsDialog( QWidget *parent, const Qt::WindowFlags& fl,
QgsDialog::QgsDialog( QWidget *parent, Qt::WindowFlags fl,
const QDialogButtonBox::StandardButtons& buttons,
Qt::Orientation orientation )
: QDialog( parent, fl )
@@ -31,7 +31,7 @@ class GUI_EXPORT QgsDialog : public QDialog
{
Q_OBJECT
public:
QgsDialog( QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags,
QgsDialog( QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags,
const QDialogButtonBox::StandardButtons& buttons = QDialogButtonBox::Close,
Qt::Orientation orientation = Qt::Horizontal );
~QgsDialog();
@@ -19,7 +19,7 @@
#include <QMessageBox>
#include <QSettings>

QgsErrorDialog::QgsErrorDialog( const QgsError & theError, const QString & theTitle, QWidget *parent, const Qt::WindowFlags& fl )
QgsErrorDialog::QgsErrorDialog( const QgsError & theError, const QString & theTitle, QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mError( theError )
{
@@ -56,7 +56,7 @@ QgsErrorDialog::~QgsErrorDialog()
{
}

void QgsErrorDialog::show( const QgsError & theError, const QString & theTitle, QWidget *parent, const Qt::WindowFlags& fl )
void QgsErrorDialog::show( const QgsError & theError, const QString & theTitle, QWidget *parent, Qt::WindowFlags fl )
{
QgsErrorDialog d( theError, theTitle, parent, fl );
d.exec();
@@ -30,7 +30,7 @@ class GUI_EXPORT QgsErrorDialog: public QDialog, private Ui::QgsErrorDialogBase
{
Q_OBJECT
public:
QgsErrorDialog( const QgsError & theError, const QString & theTitle, QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
QgsErrorDialog( const QgsError & theError, const QString & theTitle, QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsErrorDialog();

/** Show dialog with error
@@ -39,7 +39,7 @@ class GUI_EXPORT QgsErrorDialog: public QDialog, private Ui::QgsErrorDialogBase
* @param parent parent object
* @param fl widget flags
*/
static void show( const QgsError & theError, const QString & theTitle, QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
static void show( const QgsError & theError, const QString & theTitle, QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );

public slots:
void on_mDetailPushButton_clicked();
@@ -26,7 +26,7 @@
* \brief A generic dialog to prompt the user for a Coordinate Reference System
*/
QgsGenericProjectionSelector::QgsGenericProjectionSelector( QWidget *parent,
const Qt::WindowFlags& fl )
Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );
@@ -52,7 +52,7 @@ class GUI_EXPORT QgsGenericProjectionSelector : public QDialog, private Ui::QgsG
* Constructor
*/
QgsGenericProjectionSelector( QWidget *parent = nullptr,
const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
Qt::WindowFlags fl = QgisGui::ModalDialogFlags );

//! Destructor
~QgsGenericProjectionSelector();
@@ -17,7 +17,7 @@
#include "qgsgroupwmsdatadialog.h"


QgsGroupWmsDataDialog::QgsGroupWmsDataDialog( QWidget *parent, const Qt::WindowFlags& fl )
QgsGroupWmsDataDialog::QgsGroupWmsDataDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );
@@ -29,7 +29,7 @@ class GUI_EXPORT QgsGroupWmsDataDialog: public QDialog, private Ui::QgsGroupWMSD

public:
//! Constructor
QgsGroupWmsDataDialog( QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
QgsGroupWmsDataDialog( QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
//~QgsGroupWMSDataDialog();

//! return group WMS title
@@ -18,7 +18,7 @@
#include "qgsludialog.h"


QgsLUDialog::QgsLUDialog( QWidget *parent, const Qt::WindowFlags& fl )
QgsLUDialog::QgsLUDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );
@@ -28,7 +28,7 @@ class GUI_EXPORT QgsLUDialog: public QDialog, private Ui::QgsLUDialogBase
{
Q_OBJECT
public:
QgsLUDialog( QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
QgsLUDialog( QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsLUDialog();
QString lowerValue() const;
void setLowerValue( const QString& val );
@@ -30,7 +30,7 @@
#include <QScrollBar>


QgsMessageLogViewer::QgsMessageLogViewer( QStatusBar *statusBar, QWidget *parent, const Qt::WindowFlags& fl )
QgsMessageLogViewer::QgsMessageLogViewer( QStatusBar *statusBar, QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
Q_UNUSED( statusBar )
@@ -35,7 +35,7 @@ class GUI_EXPORT QgsMessageLogViewer: public QDialog, private Ui::QgsMessageLogV
{
Q_OBJECT
public:
QgsMessageLogViewer( QStatusBar *statusBar = nullptr, QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
QgsMessageLogViewer( QStatusBar *statusBar = nullptr, QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsMessageLogViewer();

public slots:
@@ -18,7 +18,7 @@
#include "qgsmessageviewer.h"
#include <QSettings>

QgsMessageViewer::QgsMessageViewer( QWidget *parent, const Qt::WindowFlags& fl, bool deleteOnClose )
QgsMessageViewer::QgsMessageViewer( QWidget *parent, Qt::WindowFlags fl, bool deleteOnClose )
: QDialog( parent, fl )
{
setupUi( this );
@@ -31,7 +31,7 @@ class GUI_EXPORT QgsMessageViewer: public QDialog, public QgsMessageOutput, priv
{
Q_OBJECT
public:
QgsMessageViewer( QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags, bool deleteOnClose = true );
QgsMessageViewer( QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags, bool deleteOnClose = true );
~QgsMessageViewer();

virtual void setMessage( const QString& message, MessageType msgType ) override;
@@ -24,7 +24,7 @@
#include <QRegExpValidator>

QgsNewHttpConnection::QgsNewHttpConnection(
QWidget *parent, const QString& baseKey, const QString& connName, const Qt::WindowFlags& fl )
QWidget *parent, const QString& baseKey, const QString& connName, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mBaseKey( baseKey )
, mOriginalConnName( connName )
@@ -32,7 +32,7 @@ class GUI_EXPORT QgsNewHttpConnection : public QDialog, private Ui::QgsNewHttpCo

public:
//! Constructor
QgsNewHttpConnection( QWidget *parent = nullptr, const QString& baseKey = "/Qgis/connections-wms/", const QString& connName = QString::null, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
QgsNewHttpConnection( QWidget *parent = nullptr, const QString& baseKey = "/Qgis/connections-wms/", const QString& connName = QString::null, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
//! Destructor
~QgsNewHttpConnection();
public slots:
@@ -79,7 +79,7 @@ QgsVectorLayer *QgsNewMemoryLayerDialog::runAndCreateLayer( QWidget *parent )
return newLayer;
}

QgsNewMemoryLayerDialog::QgsNewMemoryLayerDialog( QWidget *parent, const Qt::WindowFlags& fl )
QgsNewMemoryLayerDialog::QgsNewMemoryLayerDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );
@@ -38,7 +38,7 @@ class GUI_EXPORT QgsNewMemoryLayerDialog: public QDialog, private Ui::QgsNewMemo
*/
static QgsVectorLayer* runAndCreateLayer( QWidget* parent = nullptr );

QgsNewMemoryLayerDialog( QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
QgsNewMemoryLayerDialog( QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsNewMemoryLayerDialog();

/** Returns the selected geometry type*/
@@ -26,7 +26,7 @@
QgsNewNameDialog::QgsNewNameDialog( const QString& source, const QString& initial,
const QStringList& extensions, const QStringList& existing,
const QRegExp& regexp, Qt::CaseSensitivity cs,
QWidget *parent, const Qt::WindowFlags& flags )
QWidget *parent, Qt::WindowFlags flags )
: QgsDialog( parent, flags, QDialogButtonBox::Ok | QDialogButtonBox::Cancel )
, mExiting( existing )
, mExtensions( extensions )
@@ -44,7 +44,7 @@ class GUI_EXPORT QgsNewNameDialog : public QgsDialog
QgsNewNameDialog( const QString& source = QString::null, const QString& initial = QString::null,
const QStringList& extensions = QStringList(), const QStringList& existing = QStringList(),
const QRegExp& regexp = QRegExp(), Qt::CaseSensitivity cs = Qt::CaseSensitive,
QWidget *parent = nullptr, const Qt::WindowFlags& flags = QgisGui::ModalDialogFlags );
QWidget *parent = nullptr, Qt::WindowFlags flags = QgisGui::ModalDialogFlags );

/** Sets the hint string for the dialog (the text shown above the name
* input box).
@@ -32,7 +32,7 @@
#include <QFileDialog>


QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, const Qt::WindowFlags& fl )
QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );
@@ -36,7 +36,7 @@ class GUI_EXPORT QgsNewVectorLayerDialog: public QDialog, private Ui::QgsNewVect
// @return fileName on success, empty string use aborted, QString::null if creation failed
static QString runAndCreateLayer( QWidget* parent = nullptr, QString* enc = nullptr );

QgsNewVectorLayerDialog( QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
QgsNewVectorLayerDialog( QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsNewVectorLayerDialog();
/** Returns the selected geometry type*/
Qgis::WkbType selectedType() const;
@@ -27,7 +27,7 @@
#include <QTimer>


QgsOptionsDialogBase::QgsOptionsDialogBase( const QString& settingsKey, QWidget* parent, const Qt::WindowFlags& fl, QSettings* settings )
QgsOptionsDialogBase::QgsOptionsDialogBase( const QString& settingsKey, QWidget* parent, Qt::WindowFlags fl, QSettings* settings )
: QDialog( parent, fl )
, mOptsKey( settingsKey )
, mInit( false )
@@ -56,7 +56,7 @@ class GUI_EXPORT QgsOptionsDialogBase : public QDialog
* @param fl widget flags
* @param settings custom QSettings pointer
*/
QgsOptionsDialogBase( const QString& settingsKey, QWidget* parent = nullptr, const Qt::WindowFlags& fl = 0, QSettings* settings = nullptr );
QgsOptionsDialogBase( const QString& settingsKey, QWidget* parent = nullptr, Qt::WindowFlags fl = 0, QSettings* settings = nullptr );
~QgsOptionsDialogBase();

/** Set up the base ui connections for vertical tabs.

0 comments on commit e9b4b0c

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