Replace WFlags with WindowFlags

It has long been in Qt 4 that the WFlags window flags argument has been
renamed to WindowFlags. In fact, WFlags is just a typedef to WindowFlags.
In Qt 5, this will go away, so we can change this now to make transition
easier in the future.

This should not have any affect on API or ABI, as the symbol names already
have WindowFlags in them anyway.

This change concentrates on the sources in the src directory. There are
a few more places in the python directory that can be done later.
This commit is contained in:
Carl Simonson 2014-03-26 22:46:18 -05:00 committed by Martin Dobias
parent a838700801
commit 665f0a32fe
167 changed files with 181 additions and 181 deletions

View File

@ -31,7 +31,7 @@
#define TO8F(x) QFile::encodeName( x ).constData()
#endif
QgsNewOgrConnection::QgsNewOgrConnection( QWidget *parent, const QString& connType, const QString& connName, Qt::WFlags fl )
QgsNewOgrConnection::QgsNewOgrConnection( QWidget *parent, const QString& connType, const QString& connName, Qt::WindowFlags fl )
: QDialog( parent, fl ),
mOriginalConnName( connName )
{

View File

@ -31,7 +31,7 @@ class QgsNewOgrConnection : public QDialog, private Ui::QgsNewOgrConnectionBase
public:
//! Constructor
QgsNewOgrConnection( QWidget *parent = 0, const QString& connType = QString::null, const QString& connName = QString::null, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsNewOgrConnection( QWidget *parent = 0, const QString& connType = QString::null, const QString& connName = QString::null, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
//! Destructor
~QgsNewOgrConnection();
//! Tests the connection using the parameters supplied

View File

@ -32,7 +32,7 @@
#include "qgsogrhelperfunctions.h"
#include "qgscontexthelp.h"
QgsOpenVectorLayerDialog::QgsOpenVectorLayerDialog( QWidget* parent, Qt::WFlags fl )
QgsOpenVectorLayerDialog::QgsOpenVectorLayerDialog( QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -32,7 +32,7 @@ class QgsOpenVectorLayerDialog : public QDialog, private Ui::QgsOpenVectorLayerD
Q_OBJECT
public:
QgsOpenVectorLayerDialog( QWidget* parent = 0, Qt::WFlags fl = 0 );
QgsOpenVectorLayerDialog( QWidget* parent = 0, Qt::WindowFlags fl = 0 );
~QgsOpenVectorLayerDialog();
//! Opens a dialog to select a file datasource*/
QStringList openFile();

View File

@ -25,14 +25,14 @@
#include <QFileDialog>
#include <QTextCodec>
QgsVectorLayerSaveAsDialog::QgsVectorLayerSaveAsDialog( long srsid, QWidget* parent, Qt::WFlags fl )
QgsVectorLayerSaveAsDialog::QgsVectorLayerSaveAsDialog( long srsid, QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mCRS( srsid )
{
setup();
}
QgsVectorLayerSaveAsDialog::QgsVectorLayerSaveAsDialog( long srsid, const QgsRectangle& layerExtent, bool layerHasSelectedFeatures, int options, QWidget* parent, Qt::WFlags fl )
QgsVectorLayerSaveAsDialog::QgsVectorLayerSaveAsDialog( long srsid, const QgsRectangle& layerExtent, bool layerHasSelectedFeatures, int options, QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mCRS( srsid )
, mLayerExtent( layerExtent )

View File

@ -38,8 +38,8 @@ class QgsVectorLayerSaveAsDialog : public QDialog, private Ui::QgsVectorLayerSav
AllOptions = ~0
};
QgsVectorLayerSaveAsDialog( long srsid, QWidget* parent = 0, Qt::WFlags fl = 0 );
QgsVectorLayerSaveAsDialog( long srsid, const QgsRectangle& layerExtent, bool layerHasSelectedFeatures, int options = AllOptions, QWidget* parent = 0, Qt::WFlags fl = 0 );
QgsVectorLayerSaveAsDialog( long srsid, QWidget* parent = 0, Qt::WindowFlags fl = 0 );
QgsVectorLayerSaveAsDialog( long srsid, const QgsRectangle& layerExtent, bool layerHasSelectedFeatures, int options = AllOptions, QWidget* parent = 0, Qt::WindowFlags fl = 0 );
~QgsVectorLayerSaveAsDialog();
QString format() const;

View File

@ -54,7 +54,7 @@
#endif
QgsPluginManager::QgsPluginManager( QWidget * parent, bool pluginsAreEnabled, Qt::WFlags fl )
QgsPluginManager::QgsPluginManager( QWidget * parent, bool pluginsAreEnabled, Qt::WindowFlags fl )
: QgsOptionsDialogBase( "PluginManager", parent, fl )
{
// initialize pointer

View File

@ -46,7 +46,7 @@ class QgsPluginManager : public QgsOptionsDialogBase, private Ui::QgsPluginManag
Q_OBJECT
public:
//! Constructor; set pluginsAreEnabled to false in --noplugins mode
QgsPluginManager( QWidget *parent = 0, bool pluginsAreEnabled = true, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsPluginManager( QWidget *parent = 0, bool pluginsAreEnabled = true, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
//! Destructor
~QgsPluginManager();

View File

@ -443,7 +443,7 @@ static bool cmpByText_( QAction* a, QAction* b )
QgisApp *QgisApp::smInstance = 0;
// constructor starts here
QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent, Qt::WFlags fl )
QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent, Qt::WindowFlags fl )
: QMainWindow( parent, fl )
, mSplash( splash )
, mMousePrecisionDecimalPlaces( 0 )

View File

@ -113,7 +113,7 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
Q_OBJECT
public:
//! Constructor
QgisApp( QSplashScreen *splash, bool restorePlugins = true, QWidget * parent = 0, Qt::WFlags fl = Qt::Window );
QgisApp( QSplashScreen *splash, bool restorePlugins = true, QWidget * parent = 0, Qt::WindowFlags fl = Qt::Window );
//! Constructor for unit tests
QgisApp( );
//! Destructor

View File

@ -22,7 +22,7 @@
#include <QMessageBox>
QgsAddAttrDialog::QgsAddAttrDialog( QgsVectorLayer *vlayer, QWidget *parent, Qt::WFlags fl )
QgsAddAttrDialog::QgsAddAttrDialog( QgsVectorLayer *vlayer, QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mIsShapeFile( vlayer && vlayer->providerType() == "ogr" && vlayer->storageType() == "ESRI Shapefile" )
{

View File

@ -29,9 +29,9 @@ class APP_EXPORT QgsAddAttrDialog: public QDialog, private Ui::QgsAddAttrDialogB
Q_OBJECT
public:
QgsAddAttrDialog( QgsVectorLayer *vlayer,
QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
QgsAddAttrDialog( const std::list<QString>& typelist,
QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
QgsField field() const;

View File

@ -34,7 +34,7 @@
QgsBookmarks *QgsBookmarks::sInstance = 0;
QgsBookmarks::QgsBookmarks( QWidget *parent, Qt::WFlags fl )
QgsBookmarks::QgsBookmarks( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -38,7 +38,7 @@ class APP_EXPORT QgsBookmarks : public QDialog, private Ui::QgsBookmarksBase
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
private:
QgsBookmarks( QWidget *parent = 0, Qt::WFlags fl = 0 );
QgsBookmarks( QWidget *parent = 0, Qt::WindowFlags fl = 0 );
~QgsBookmarks();
void saveWindowLocation();

View File

@ -43,7 +43,7 @@ extern "C"
}
QgsCustomProjectionDialog::QgsCustomProjectionDialog( QWidget *parent, Qt::WFlags fl )
QgsCustomProjectionDialog::QgsCustomProjectionDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -33,7 +33,7 @@ class APP_EXPORT QgsCustomProjectionDialog : public QDialog, private Ui::QgsCust
{
Q_OBJECT
public:
QgsCustomProjectionDialog( QWidget *parent = 0, Qt::WFlags fl = 0 );
QgsCustomProjectionDialog( QWidget *parent = 0, Qt::WindowFlags fl = 0 );
~QgsCustomProjectionDialog();
public slots:

View File

@ -20,7 +20,7 @@
#include <QSettings>
#include <cmath>
QgsDisplayAngle::QgsDisplayAngle( QgsMapToolMeasureAngle * tool, Qt::WFlags f )
QgsDisplayAngle::QgsDisplayAngle( QgsMapToolMeasureAngle * tool, Qt::WindowFlags f )
: QDialog( tool->canvas()->topLevelWidget(), f ), mTool( tool )
{
setupUi( this );

View File

@ -252,7 +252,7 @@ void QgsIdentifyResultsWebViewItem::loadFinished( bool ok )
// action
// name value
QgsIdentifyResultsDialog::QgsIdentifyResultsDialog( QgsMapCanvas *canvas, QWidget *parent, Qt::WFlags f )
QgsIdentifyResultsDialog::QgsIdentifyResultsDialog( QgsMapCanvas *canvas, QWidget *parent, Qt::WindowFlags f )
: QDialog( parent, f )
, mActionPopup( 0 )
, mCanvas( canvas )

View File

@ -100,7 +100,7 @@ class APP_EXPORT QgsIdentifyResultsDialog: public QDialog, private Ui::QgsIdenti
//! Constructor - takes it own copy of the QgsAttributeAction so
// that it is independent of whoever created it.
QgsIdentifyResultsDialog( QgsMapCanvas *canvas, QWidget *parent = 0, Qt::WFlags f = 0 );
QgsIdentifyResultsDialog( QgsMapCanvas *canvas, QWidget *parent = 0, Qt::WindowFlags f = 0 );
~QgsIdentifyResultsDialog();

View File

@ -31,7 +31,7 @@
#include <QPushButton>
QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool* tool, Qt::WFlags f )
QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool* tool, Qt::WindowFlags f )
: QDialog( tool->canvas()->topLevelWidget(), f ), mTool( tool )
{
setupUi( this );

View File

@ -33,7 +33,7 @@ class APP_EXPORT QgsMeasureDialog : public QDialog, private Ui::QgsMeasureBase
public:
//! Constructor
QgsMeasureDialog( QgsMeasureTool* tool, Qt::WFlags f = 0 );
QgsMeasureDialog( QgsMeasureTool* tool, Qt::WindowFlags f = 0 );
//! Save position
void saveWindowLocation( void );

View File

@ -40,7 +40,7 @@
#include <spatialite.h>
QgsNewSpatialiteLayerDialog::QgsNewSpatialiteLayerDialog( QWidget *parent, Qt::WFlags fl )
QgsNewSpatialiteLayerDialog::QgsNewSpatialiteLayerDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -34,7 +34,7 @@ class APP_EXPORT QgsNewSpatialiteLayerDialog: public QDialog, private Ui::QgsNew
Q_OBJECT
public:
QgsNewSpatialiteLayerDialog( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsNewSpatialiteLayerDialog( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsNewSpatialiteLayerDialog();
protected slots:

View File

@ -66,7 +66,7 @@
* \class QgsOptions - Set user options and preferences
* Constructor
*/
QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :
QgsOptionsDialogBase( "Options", parent, fl )
{
setupUi( this );

View File

@ -43,7 +43,7 @@ class APP_EXPORT QgsOptions : public QgsOptionsDialogBase, private Ui::QgsOption
* @param name name for the widget
* @param modal true for modal dialog
*/
QgsOptions( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsOptions( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
//! Destructor
~QgsOptions();
/**

View File

@ -58,7 +58,7 @@ const char * QgsProjectProperties::GEO_NONE_DESC = QT_TRANSLATE_NOOP( "QgsOption
//stdc++ includes
QgsProjectProperties::QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *parent, Qt::WFlags fl )
QgsProjectProperties::QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *parent, Qt::WindowFlags fl )
: QgsOptionsDialogBase( "ProjectProperties", parent, fl )
, mMapCanvas( mapCanvas )
, mEllipsoidList()

View File

@ -38,7 +38,7 @@ class APP_EXPORT QgsProjectProperties : public QgsOptionsDialogBase, private Ui:
public:
//! Constructor
QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
//! Destructor
~QgsProjectProperties();

View File

@ -66,7 +66,7 @@
#include <QMouseEvent>
#include <QVector>
QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer* lyr, QgsMapCanvas* theCanvas, QWidget *parent, Qt::WFlags fl )
QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer* lyr, QgsMapCanvas* theCanvas, QWidget *parent, Qt::WindowFlags fl )
: QgsOptionsDialogBase( "RasterLayerProperties", parent, fl ),
// Constant that signals property not used.
TRSTRING_NOT_SET( tr( "Not Set" ) ),

View File

@ -46,7 +46,7 @@ class APP_EXPORT QgsRasterLayerProperties : public QgsOptionsDialogBase, private
/** \brief Constructor
* @param ml Map layer for which properties will be displayed
*/
QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanvas* theCanvas, QWidget *parent = 0, Qt::WFlags = QgisGui::ModalDialogFlags );
QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanvas* theCanvas, QWidget *parent = 0, Qt::WindowFlags = QgisGui::ModalDialogFlags );
/** \brief Destructor */
~QgsRasterLayerProperties();

View File

@ -68,7 +68,7 @@
QgsVectorLayerProperties::QgsVectorLayerProperties(
QgsVectorLayer *lyr,
QWidget * parent,
Qt::WFlags fl
Qt::WindowFlags fl
)
: QgsOptionsDialogBase( "VectorLayerProperties", parent, fl )
, layer( lyr )

View File

@ -53,7 +53,7 @@ class APP_EXPORT QgsVectorLayerProperties : public QgsOptionsDialogBase, private
DB,
};
QgsVectorLayerProperties( QgsVectorLayer *lyr = 0, QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsVectorLayerProperties( QgsVectorLayer *lyr = 0, QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsVectorLayerProperties();
/**Returns the display name entered in the dialog*/
QString displayName();

View File

@ -41,7 +41,7 @@
#define QGIS_ICON_SIZE 24
#endif
QgsBrowser::QgsBrowser( QWidget *parent, Qt::WFlags flags )
QgsBrowser::QgsBrowser( QWidget *parent, Qt::WindowFlags flags )
: QMainWindow( parent, flags )
, mDirtyMetadata( true )
, mDirtyPreview( true )

View File

@ -30,7 +30,7 @@ class QgsBrowser : public QMainWindow, private Ui::QgsBrowserBase
{
Q_OBJECT
public:
QgsBrowser( QWidget *parent = 0, Qt::WFlags flags = 0 );
QgsBrowser( QWidget *parent = 0, Qt::WindowFlags flags = 0 );
~QgsBrowser();
// Expand to given path

View File

@ -372,10 +372,10 @@ QgsDataProvider *QgsProviderRegistry::provider( QString const & providerKey, QSt
} // QgsProviderRegistry::setDataProvider
// This should be QWidget, not QDialog
typedef QWidget * selectFactoryFunction_t( QWidget * parent, Qt::WFlags fl );
typedef QWidget * selectFactoryFunction_t( QWidget * parent, Qt::WindowFlags fl );
QWidget* QgsProviderRegistry::selectWidget( const QString & providerKey,
QWidget * parent, Qt::WFlags fl )
QWidget * parent, Qt::WindowFlags fl )
{
selectFactoryFunction_t * selectFactory =
( selectFactoryFunction_t * ) cast_to_fptr( function( providerKey, "selectWidget" ) );

View File

@ -69,7 +69,7 @@ class CORE_EXPORT QgsProviderRegistry
const QString & dataSource );
QWidget *selectWidget( const QString & providerKey,
QWidget * parent = 0, Qt::WFlags fl = 0 );
QWidget * parent = 0, Qt::WindowFlags fl = 0 );
/** Get pointer to provider function
@param providerKey identificator of the provider

View File

@ -44,7 +44,7 @@ namespace QgisGui
* Qt::WindowMaximizeButtonHint is included but will be ignored if
* the dialog is a fixed size and does not have a size grip.
*/
static const Qt::WFlags ModalDialogFlags = 0;
static const Qt::WindowFlags ModalDialogFlags = 0;
/**
Open files, preferring to have the default file selector be the

View File

@ -22,7 +22,7 @@
#include <QLabel>
#include <QProgressBar>
QgsBusyIndicatorDialog::QgsBusyIndicatorDialog( const QString& message, QWidget* parent, Qt::WFlags fl )
QgsBusyIndicatorDialog::QgsBusyIndicatorDialog( const QString& message, QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl ), mMessage( QString( message ) ), mMsgLabel( 0 )
{
setWindowTitle( tr( "QGIS" ) );

View File

@ -39,7 +39,7 @@ class GUI_EXPORT QgsBusyIndicatorDialog : public QDialog
* @param fl widget flags
* @note added in 1.9
*/
QgsBusyIndicatorDialog( const QString& message = "", QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsBusyIndicatorDialog( const QString& message = "", QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsBusyIndicatorDialog();
QString message() const { return mMessage; }

View File

@ -18,7 +18,7 @@
#include "qgscharacterselectdialog.h"
QgsCharacterSelectorDialog::QgsCharacterSelectorDialog( QWidget *parent, Qt::WFlags fl )
QgsCharacterSelectorDialog::QgsCharacterSelectorDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl ), mChar( QChar::Null )
{
setupUi( this );

View File

@ -32,7 +32,7 @@ class GUI_EXPORT QgsCharacterSelectorDialog : public QDialog, private Ui::QgsCha
Q_OBJECT
public:
QgsCharacterSelectorDialog( QWidget* parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsCharacterSelectorDialog( QWidget* parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsCharacterSelectorDialog();
public slots:

View File

@ -46,7 +46,7 @@
#include "qgsmapcanvas.h" //for QgsMapCanvas::WheelAction
#include "qgscursors.h"
QgsComposerView::QgsComposerView( QWidget* parent, const char* name, Qt::WFlags f )
QgsComposerView::QgsComposerView( QWidget* parent, const char* name, Qt::WindowFlags f )
: QGraphicsView( parent )
, mRubberBandItem( 0 )
, mRubberBandLineItem( 0 )

View File

@ -90,7 +90,7 @@ class GUI_EXPORT QgsComposerView: public QGraphicsView
ActiveUntilMouseRelease
};
QgsComposerView( QWidget* parent = 0, const char* name = 0, Qt::WFlags f = 0 );
QgsComposerView( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags f = 0 );
/**Add an item group containing the selected items*/
void groupItems();

View File

@ -21,7 +21,7 @@
#include <QSettings>
#include <QThread>
QgsCredentialDialog::QgsCredentialDialog( QWidget *parent, Qt::WFlags fl )
QgsCredentialDialog::QgsCredentialDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -31,7 +31,7 @@ class GUI_EXPORT QgsCredentialDialog : public QDialog, public QgsCredentials, pr
{
Q_OBJECT
public:
QgsCredentialDialog( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsCredentialDialog( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsCredentialDialog();
signals:

View File

@ -17,7 +17,7 @@
#include "qgsdialog.h"
QgsDialog::QgsDialog( QWidget *parent, Qt::WFlags fl,
QgsDialog::QgsDialog( QWidget *parent, Qt::WindowFlags fl,
QDialogButtonBox::StandardButtons buttons,
Qt::Orientation orientation )
: QDialog( parent, fl )

View File

@ -31,7 +31,7 @@ class GUI_EXPORT QgsDialog : public QDialog
{
Q_OBJECT
public:
QgsDialog( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags,
QgsDialog( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags,
QDialogButtonBox::StandardButtons buttons = QDialogButtonBox::Close,
Qt::Orientation orientation = Qt::Horizontal );
~QgsDialog();

View File

@ -19,7 +19,7 @@
#include <QMessageBox>
#include <QSettings>
QgsErrorDialog::QgsErrorDialog( const QgsError & theError, const QString & theTitle, QWidget *parent, Qt::WFlags 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, Qt::WFlags fl )
void QgsErrorDialog::show( const QgsError & theError, const QString & theTitle, QWidget *parent, Qt::WindowFlags fl )
{
QgsErrorDialog d( theError, theTitle, parent, fl );
d.exec();

View File

@ -27,7 +27,7 @@ class GUI_EXPORT QgsErrorDialog: public QDialog, private Ui::QgsErrorDialogBase
{
Q_OBJECT
public:
QgsErrorDialog( const QgsError & theError, const QString & theTitle, QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsErrorDialog( const QgsError & theError, const QString & theTitle, QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsErrorDialog();
/** Show dialog with error
@ -36,7 +36,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 = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
static void show( const QgsError & theError, const QString & theTitle, QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
public slots:
void on_mDetailPushButton_clicked();

View File

@ -26,7 +26,7 @@
* \brief A generic dialog to prompt the user for a Coordinate Reference System
*/
QgsGenericProjectionSelector::QgsGenericProjectionSelector( QWidget *parent,
Qt::WFlags fl )
Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -50,7 +50,7 @@ class GUI_EXPORT QgsGenericProjectionSelector : public QDialog, private Ui::QgsG
* Constructor
*/
QgsGenericProjectionSelector( QWidget *parent = 0,
Qt::WFlags fl = QgisGui::ModalDialogFlags );
Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
//! Destructor
~QgsGenericProjectionSelector();

View File

@ -18,7 +18,7 @@
#include "qgsludialog.h"
QgsLUDialog::QgsLUDialog( QWidget *parent, Qt::WFlags fl )
QgsLUDialog::QgsLUDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -26,7 +26,7 @@ class GUI_EXPORT QgsLUDialog: public QDialog, private Ui::QgsLUDialogBase
{
Q_OBJECT
public:
QgsLUDialog( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsLUDialog( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsLUDialog();
QString lowerValue() const;
void setLowerValue( QString val );

View File

@ -39,7 +39,7 @@ static QIcon icon( QString icon )
return QIcon( path );
}
QgsMessageLogViewer::QgsMessageLogViewer( QStatusBar *statusBar, QWidget *parent, Qt::WFlags fl )
QgsMessageLogViewer::QgsMessageLogViewer( QStatusBar *statusBar, QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mButton( 0 )
, mCount( 0 )

View File

@ -36,7 +36,7 @@ class GUI_EXPORT QgsMessageLogViewer: public QDialog, private Ui::QgsMessageLogV
{
Q_OBJECT
public:
QgsMessageLogViewer( QStatusBar *statusBar = 0, QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsMessageLogViewer( QStatusBar *statusBar = 0, QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsMessageLogViewer();
public slots:

View File

@ -18,7 +18,7 @@
#include "qgsmessageviewer.h"
#include <QSettings>
QgsMessageViewer::QgsMessageViewer( QWidget *parent, Qt::WFlags fl, bool deleteOnClose )
QgsMessageViewer::QgsMessageViewer( QWidget *parent, Qt::WindowFlags fl, bool deleteOnClose )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -31,7 +31,7 @@ class GUI_EXPORT QgsMessageViewer: public QDialog, public QgsMessageOutput, priv
{
Q_OBJECT
public:
QgsMessageViewer( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags, bool deleteOnClose = true );
QgsMessageViewer( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags, bool deleteOnClose = true );
~QgsMessageViewer();
virtual void setMessage( const QString& message, MessageType msgType );

View File

@ -23,7 +23,7 @@
#include <QRegExpValidator>
QgsNewHttpConnection::QgsNewHttpConnection(
QWidget *parent, const QString& baseKey, const QString& connName, Qt::WFlags fl ):
QWidget *parent, const QString& baseKey, const QString& connName, Qt::WindowFlags fl ):
QDialog( parent, fl ),
mBaseKey( baseKey ),
mOriginalConnName( connName )

View File

@ -29,7 +29,7 @@ class GUI_EXPORT QgsNewHttpConnection : public QDialog, private Ui::QgsNewHttpCo
public:
//! Constructor
QgsNewHttpConnection( QWidget *parent = 0, const QString& baseKey = "/Qgis/connections-wms/", const QString& connName = QString::null, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsNewHttpConnection( QWidget *parent = 0, const QString& baseKey = "/Qgis/connections-wms/", const QString& connName = QString::null, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
//! Destructor
~QgsNewHttpConnection();
public slots:

View File

@ -32,7 +32,7 @@
#include <QFileDialog>
QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, Qt::WFlags fl )
QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -32,7 +32,7 @@ class GUI_EXPORT QgsNewVectorLayerDialog: public QDialog, private Ui::QgsNewVect
// run the dialog, create the layer. Return file name if the creation was successful
static QString runAndCreateLayer( QWidget* parent = 0, QString* enc = 0 );
QgsNewVectorLayerDialog( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
QgsNewVectorLayerDialog( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsNewVectorLayerDialog();
/**Returns the selected geometry type*/
QGis::WkbType selectedType() const;

View File

@ -27,7 +27,7 @@
#include <QTimer>
QgsOptionsDialogBase::QgsOptionsDialogBase( QString settingsKey, QWidget* parent, Qt::WFlags fl, QSettings* settings )
QgsOptionsDialogBase::QgsOptionsDialogBase( QString settingsKey, QWidget* parent, Qt::WindowFlags fl, QSettings* settings )
: QDialog( parent, fl )
, mOptsKey( settingsKey )
, mInit( false )

View File

@ -57,7 +57,7 @@ class GUI_EXPORT QgsOptionsDialogBase : public QDialog
* @param fl widget flags
* @param settings custom QSettings pointer
*/
QgsOptionsDialogBase( QString settingsKey, QWidget* parent = 0, Qt::WFlags fl = 0, QSettings* settings = 0 );
QgsOptionsDialogBase( QString settingsKey, QWidget* parent = 0, Qt::WindowFlags fl = 0, QSettings* settings = 0 );
~QgsOptionsDialogBase();
/** Set up the base ui connections for vertical tabs.

View File

@ -54,7 +54,7 @@
#include <QNetworkRequest>
#include <QNetworkReply>
QgsOWSSourceSelect::QgsOWSSourceSelect( QString service, QWidget * parent, Qt::WFlags fl, bool managerMode, bool embeddedMode )
QgsOWSSourceSelect::QgsOWSSourceSelect( QString service, QWidget * parent, Qt::WindowFlags fl, bool managerMode, bool embeddedMode )
: QDialog( parent, fl )
, mService( service )
, mManagerMode( managerMode )

View File

@ -60,7 +60,7 @@ class GUI_EXPORT QgsOWSSourceSelect : public QDialog, public Ui::QgsOWSSourceSel
};
//! Constructor
QgsOWSSourceSelect( QString service, QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags, bool managerMode = false, bool embeddedMode = false );
QgsOWSSourceSelect( QString service, QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags, bool managerMode = false, bool embeddedMode = false );
//! Destructor
~QgsOWSSourceSelect();

View File

@ -26,7 +26,7 @@
#include <QMessageBox>
#include <QSettings>
QgsProjectionSelector::QgsProjectionSelector( QWidget* parent, const char *name, Qt::WFlags fl )
QgsProjectionSelector::QgsProjectionSelector( QWidget* parent, const char *name, Qt::WindowFlags fl )
: QWidget( parent, fl )
, mProjListDone( false )
, mUserProjListDone( false )

View File

@ -29,7 +29,7 @@ class GUI_EXPORT QgsProjectionSelector : public QWidget, private Ui::QgsProjecti
{
Q_OBJECT
public:
QgsProjectionSelector( QWidget* parent, const char *name = "", Qt::WFlags fl = 0 );
QgsProjectionSelector( QWidget* parent, const char *name = "", Qt::WindowFlags fl = 0 );
~QgsProjectionSelector();

View File

@ -25,7 +25,7 @@
// constructor used when the query builder must make its own
// connection to the database
QgsQueryBuilder::QgsQueryBuilder( QgsVectorLayer *layer,
QWidget *parent, Qt::WFlags fl )
QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mPreviousFieldRow( -1 )
, mLayer( layer )

View File

@ -48,7 +48,7 @@ class GUI_EXPORT QgsQueryBuilder : public QDialog, private Ui::QgsQueryBuilderBa
* @param fl dialog flags
*/
QgsQueryBuilder( QgsVectorLayer *layer, QWidget *parent = 0,
Qt::WFlags fl = QgisGui::ModalDialogFlags );
Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsQueryBuilder();

View File

@ -31,7 +31,7 @@
#include "qgslogger.h"
QgsSearchQueryBuilder::QgsSearchQueryBuilder( QgsVectorLayer* layer,
QWidget *parent, Qt::WFlags fl )
QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl ), mLayer( layer )
{
setupUi( this );

View File

@ -40,7 +40,7 @@ class GUI_EXPORT QgsSearchQueryBuilder : public QDialog, private Ui::QgsQueryBui
public:
//! Constructor - takes pointer to vector layer as a parameter
QgsSearchQueryBuilder( QgsVectorLayer* layer, QWidget *parent = 0,
Qt::WFlags fl = QgisGui::ModalDialogFlags );
Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
~QgsSearchQueryBuilder();

View File

@ -23,7 +23,7 @@
QgsSublayersDialog::QgsSublayersDialog( ProviderType providerType, QString name,
QWidget* parent, Qt::WFlags fl )
QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl ), mName( name )
{
setupUi( this );

View File

@ -33,7 +33,7 @@ class GUI_EXPORT QgsSublayersDialog : public QDialog, private Ui::QgsSublayersDi
Vsifile
};
QgsSublayersDialog( ProviderType providerType, QString name, QWidget* parent = 0, Qt::WFlags fl = 0 );
QgsSublayersDialog( ProviderType providerType, QString name, QWidget* parent = 0, Qt::WindowFlags fl = 0 );
~QgsSublayersDialog();
void populateLayerTable( QStringList theList, QString delim = ":" );

View File

@ -309,7 +309,7 @@ void QgsSvgSelectorWidget::populateList()
//-- QgsSvgSelectorDialog
QgsSvgSelectorDialog::QgsSvgSelectorDialog( QWidget *parent, Qt::WFlags fl,
QgsSvgSelectorDialog::QgsSvgSelectorDialog( QWidget *parent, Qt::WindowFlags fl,
QDialogButtonBox::StandardButtons buttons,
Qt::Orientation orientation )
: QDialog( parent, fl )

View File

@ -109,7 +109,7 @@ class GUI_EXPORT QgsSvgSelectorDialog : public QDialog
{
Q_OBJECT
public:
QgsSvgSelectorDialog( QWidget* parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags,
QgsSvgSelectorDialog( QWidget* parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags,
QDialogButtonBox::StandardButtons buttons = QDialogButtonBox::Close | QDialogButtonBox::Ok,
Qt::Orientation orientation = Qt::Horizontal );
~QgsSvgSelectorDialog();

View File

@ -50,7 +50,7 @@ void QgsReaderThread::run()
}
}
QgsHelpViewer::QgsHelpViewer( QWidget *parent, Qt::WFlags fl )
QgsHelpViewer::QgsHelpViewer( QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -44,7 +44,7 @@ class QgsHelpViewer : public QDialog, private Ui::QgsHelpViewerBase
{
Q_OBJECT
public:
QgsHelpViewer( QWidget *parent = 0, Qt::WFlags = 0 );
QgsHelpViewer( QWidget *parent = 0, Qt::WindowFlags = 0 );
~QgsHelpViewer();
public slots:
void showHelp( QString );

View File

@ -25,7 +25,7 @@
#include "qgscompassplugingui.h"
#include "compass.h"
QgsCompassPluginGui::QgsCompassPluginGui( QWidget * parent, Qt::WFlags fl )
QgsCompassPluginGui::QgsCompassPluginGui( QWidget * parent, Qt::WindowFlags fl )
: QWidget( parent, fl )
{
setupUi( this );

View File

@ -36,7 +36,7 @@ class QgsCompassPluginGui : public QWidget, private Ui::QgsCompassPluginGuiBase
Q_OBJECT
public:
QgsCompassPluginGui( QWidget* parent = 0, Qt::WFlags fl = 0 );
QgsCompassPluginGui( QWidget* parent = 0, Qt::WindowFlags fl = 0 );
~QgsCompassPluginGui();
private:

View File

@ -16,7 +16,7 @@
//standard includes
CoordinateCaptureGui::CoordinateCaptureGui( QWidget* parent, Qt::WFlags fl )
CoordinateCaptureGui::CoordinateCaptureGui( QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
}

View File

@ -23,7 +23,7 @@ class CoordinateCaptureGui : public QDialog
Q_OBJECT
public:
CoordinateCaptureGui( QWidget* parent = 0, Qt::WFlags fl = 0 );
CoordinateCaptureGui( QWidget* parent = 0, Qt::WindowFlags fl = 0 );
~CoordinateCaptureGui();
private slots:

View File

@ -28,7 +28,7 @@
#include "qgslogger.h"
dxf2shpConverterGui::dxf2shpConverterGui( QWidget *parent, Qt::WFlags fl ):
dxf2shpConverterGui::dxf2shpConverterGui( QWidget *parent, Qt::WindowFlags fl ):
QDialog( parent, fl )
{
setupUi( this );

View File

@ -26,7 +26,7 @@ class dxf2shpConverterGui: public QDialog, private Ui::dxf2shpConverterGui
Q_OBJECT
public:
dxf2shpConverterGui( QWidget *parent = 0, Qt::WFlags fl = 0 );
dxf2shpConverterGui( QWidget *parent = 0, Qt::WindowFlags fl = 0 );
~dxf2shpConverterGui();
private:

View File

@ -46,7 +46,7 @@
* @param parent - Pointer the to parent QWidget for modality
* @param fl - Windown flags
*/
eVisDatabaseConnectionGui::eVisDatabaseConnectionGui( QList<QTemporaryFile*>* theTemoraryFileList, QWidget* parent, Qt::WFlags fl )
eVisDatabaseConnectionGui::eVisDatabaseConnectionGui( QList<QTemporaryFile*>* theTemoraryFileList, QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -50,7 +50,7 @@ class eVisDatabaseConnectionGui : public QDialog, private Ui::eVisDatabaseConnec
public:
/** \brief Constructor */
eVisDatabaseConnectionGui( QList<QTemporaryFile*>*, QWidget* parent = 0, Qt::WFlags fl = 0 );
eVisDatabaseConnectionGui( QList<QTemporaryFile*>*, QWidget* parent = 0, Qt::WindowFlags fl = 0 );
/** \brief Destructor */
~eVisDatabaseConnectionGui( );

View File

@ -31,7 +31,7 @@
* @param parent - Pointer the to parent QWidget for modality
* @param fl - Windown flags
*/
eVisDatabaseLayerFieldSelectionGui::eVisDatabaseLayerFieldSelectionGui( QWidget* parent, Qt::WFlags fl )
eVisDatabaseLayerFieldSelectionGui::eVisDatabaseLayerFieldSelectionGui( QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -42,7 +42,7 @@ class eVisDatabaseLayerFieldSelectionGui : public QDialog, private Ui::eVisDatab
public:
/** \brief Constructor */
eVisDatabaseLayerFieldSelectionGui( QWidget* parent, Qt::WFlags fl );
eVisDatabaseLayerFieldSelectionGui( QWidget* parent, Qt::WindowFlags fl );
/** \brief Public method that sets the contents of the combo boxes with the available field names */
void setFieldList( QStringList* );

View File

@ -50,7 +50,7 @@
* @param interface - Pointer to the application interface
* @param fl - Window flags
*/
eVisGenericEventBrowserGui::eVisGenericEventBrowserGui( QWidget* parent, QgisInterface* interface, Qt::WFlags fl )
eVisGenericEventBrowserGui::eVisGenericEventBrowserGui( QWidget* parent, QgisInterface* interface, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );
@ -83,7 +83,7 @@ eVisGenericEventBrowserGui::eVisGenericEventBrowserGui( QWidget* parent, QgisInt
* @param canvas - Pointer to the map canvas
* @param fl - Window flags
*/
eVisGenericEventBrowserGui::eVisGenericEventBrowserGui( QWidget* parent, QgsMapCanvas* canvas, Qt::WFlags fl )
eVisGenericEventBrowserGui::eVisGenericEventBrowserGui( QWidget* parent, QgsMapCanvas* canvas, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
setupUi( this );

View File

@ -57,10 +57,10 @@ class eVisGenericEventBrowserGui : public QDialog, private Ui::eVisGenericEventB
public:
/** \brief Constructor called when button is pressed in the plugin toolbar */
eVisGenericEventBrowserGui( QWidget* parent, QgisInterface* interface, Qt::WFlags fl );
eVisGenericEventBrowserGui( QWidget* parent, QgisInterface* interface, Qt::WindowFlags fl );
/** \brief Constructor called when new browser is requested by the eVisEventIdTool */
eVisGenericEventBrowserGui( QWidget* parent, QgsMapCanvas* canvas, Qt::WFlags fl );
eVisGenericEventBrowserGui( QWidget* parent, QgsMapCanvas* canvas, Qt::WindowFlags fl );
/** \Brief Destructor */
~eVisGenericEventBrowserGui( );

View File

@ -37,7 +37,7 @@
* @param parent - Pointer the to parent QWidget for modality
* @param fl - Windown flags
*/
eVisImageDisplayWidget::eVisImageDisplayWidget( QWidget* parent, Qt::WFlags fl ) : QWidget( parent, fl )
eVisImageDisplayWidget::eVisImageDisplayWidget( QWidget* parent, Qt::WindowFlags fl ) : QWidget( parent, fl )
{
//Setup zoom buttons
pbtnZoomIn = new QPushButton( );

View File

@ -49,7 +49,7 @@ class eVisImageDisplayWidget : public QWidget
public:
/** \brief Constructor */
eVisImageDisplayWidget( QWidget* parent = 0, Qt::WFlags fl = 0 );
eVisImageDisplayWidget( QWidget* parent = 0, Qt::WindowFlags fl = 0 );
/** \brief Destructor */
~eVisImageDisplayWidget();

View File

@ -71,7 +71,7 @@ QgsGeorefDockWidget::QgsGeorefDockWidget( const QString & title, QWidget * paren
setObjectName( "GeorefDockWidget" ); // set object name so the position can be saved
}
QgsGeorefPluginGui::QgsGeorefPluginGui( QgisInterface* theQgisInterface, QWidget* parent, Qt::WFlags fl )
QgsGeorefPluginGui::QgsGeorefPluginGui( QgisInterface* theQgisInterface, QWidget* parent, Qt::WindowFlags fl )
: QMainWindow( parent, fl )
, mMousePrecisionDecimalPlaces( 0 )
, mTransformParam( QgsGeorefTransform::InvalidTransform )

View File

@ -50,7 +50,7 @@ class QgsGeorefPluginGui : public QMainWindow, private Ui::QgsGeorefPluginGuiBas
Q_OBJECT
public:
QgsGeorefPluginGui( QgisInterface* theQgisInterface, QWidget* parent = 0, Qt::WFlags fl = 0 );
QgsGeorefPluginGui( QgisInterface* theQgisInterface, QWidget* parent = 0, Qt::WindowFlags fl = 0 );
~QgsGeorefPluginGui();
protected:

View File

@ -38,7 +38,7 @@
#include <osg/DisplaySettings>
//constructor
QgsGlobePluginDialog::QgsGlobePluginDialog( QWidget* parent, GlobePlugin* globe, Qt::WFlags fl )
QgsGlobePluginDialog::QgsGlobePluginDialog( QWidget* parent, GlobePlugin* globe, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mGlobe( globe )
{

View File

@ -31,7 +31,7 @@ class QgsGlobePluginDialog: public QDialog, private Ui::QgsGlobePluginDialogGuiB
Q_OBJECT
public:
QgsGlobePluginDialog( QWidget * parent, GlobePlugin* globe, Qt::WFlags fl = 0 );
QgsGlobePluginDialog( QWidget * parent, GlobePlugin* globe, Qt::WindowFlags fl = 0 );
~QgsGlobePluginDialog();
void resetElevationDatasources();
void readElevationDatasources();

View File

@ -28,7 +28,7 @@
QgsGPSPluginGui::QgsGPSPluginGui( const BabelMap& importers,
std::map<QString, QgsGPSDevice*>& devices,
std::vector<QgsVectorLayer*> gpxMapLayers,
QWidget* parent, Qt::WFlags fl )
QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mGPXLayers( gpxMapLayers )
, mImporters( importers )

View File

@ -39,7 +39,7 @@ class QgsGPSPluginGui : public QDialog, private Ui::QgsGPSPluginGuiBase
QgsGPSPluginGui( const BabelMap& importers,
std::map<QString, QgsGPSDevice*>& devices,
std::vector<QgsVectorLayer*> gpxMapLayers,
QWidget* parent, Qt::WFlags );
QWidget* parent, Qt::WindowFlags );
~QgsGPSPluginGui();
public slots:

View File

@ -53,7 +53,7 @@ bool QgsGrassAttributesKeyPress::eventFilter( QObject *o, QEvent *e )
}
QgsGrassAttributes::QgsGrassAttributes( QgsGrassEdit *edit, QgsGrassProvider *provider, int line,
QWidget * parent, const char * name, Qt::WFlags f )
QWidget * parent, const char * name, Qt::WindowFlags f )
: QDialog( parent, f ), QgsGrassAttributesBase()
{
Q_UNUSED( name );

View File

@ -55,8 +55,8 @@ class QgsGrassAttributes: public QDialog, private Ui::QgsGrassAttributesBase
//! Constructor
QgsGrassAttributes( QgsGrassEdit *edit, QgsGrassProvider *provider, int line,
QWidget * parent = 0, const char * name = 0,
Qt::WFlags f = Qt::Window );
//Qt::WFlags f = Qt::WStyle_Customize | Qt::WStyle_DialogBorder | Qt::WStyle_Title | Qt::WType_Dialog | Qt::WStyle_Tool);
Qt::WindowFlags f = Qt::Window );
//Qt::WindowFlags f = Qt::WStyle_Customize | Qt::WStyle_DialogBorder | Qt::WStyle_Title | Qt::WType_Dialog | Qt::WStyle_Tool);
//! Destructor
~QgsGrassAttributes();

View File

@ -39,7 +39,7 @@
QgsGrassBrowser::QgsGrassBrowser( QgisInterface *iface,
QWidget * parent, Qt::WFlags f )
QWidget * parent, Qt::WindowFlags f )
: QMainWindow( parent, Qt::Dialog ), mIface( iface ), mRunningMods( 0 )
{
Q_UNUSED( f );

View File

@ -37,7 +37,7 @@ class QgsGrassBrowser: public QMainWindow
public:
//! Constructor
QgsGrassBrowser( QgisInterface *iface, QWidget * parent = 0, Qt::WFlags f = 0 );
QgsGrassBrowser( QgisInterface *iface, QWidget * parent = 0, Qt::WindowFlags f = 0 );
//! Destructor
~QgsGrassBrowser();

Some files were not shown because too many files have changed in this diff Show More