Commit c5f2a025 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

WRG: avoid shadow warning (parent)

parent 8cc4ee64
......@@ -293,7 +293,7 @@ signals:
protected:
/** Constructor */
AbstractImageModel( QObject* parent =NULL );
AbstractImageModel( QObject* p =NULL );
/**
* \brief Set image properties pointer.
......
......@@ -156,7 +156,7 @@ signals:
protected:
/** \brief Constructor. */
AbstractLayerModel( QObject* parent =NULL );
AbstractLayerModel( QObject* p =NULL );
/**
*/
......
......@@ -132,7 +132,7 @@ signals:
// Protected methods.
protected:
/** Constructor */
AbstractModel( QObject* parent =NULL );
AbstractModel( QObject* p =NULL );
/**
*/
......
......@@ -162,7 +162,7 @@ signals:
protected:
/** \brief Constructor. */
AbstractWorker( QObject* parent =NULL );
AbstractWorker( QObject* p =NULL );
//
// Protected attributes.
......
......@@ -103,7 +103,7 @@ public:
/** typedef */
/** \brief Constructor. */
ApplicationsBrowser( QObject* parent =NULL );
ApplicationsBrowser( QObject* p =NULL );
/** \brief Destructor. */
virtual ~ApplicationsBrowser();
......
......@@ -90,7 +90,7 @@ public:
*/
BackgroundTask( AbstractWorker* worker,
bool autoDestroy =true,
QObject* parent =NULL );
QObject* p =NULL );
/**
* \brief Destructor.
......
......@@ -158,7 +158,7 @@ public:
public:
/** \brief Constructor. */
HistogramModel( QObject* parent =NULL );
HistogramModel( QObject* p =NULL );
/** \brief Destructor. */
virtual ~HistogramModel();
......
......@@ -296,7 +296,7 @@ public:
LoadImageModel( const QString & filename,
int width,
int height,
QObject * parent =NULL );
QObject * p =NULL );
/**
*/
......
......@@ -99,7 +99,7 @@ public:
bool isForceCreateEnabled,
int width =-1,
int height =-1,
QObject* parent =NULL );
QObject* p =NULL );
/**
* \brief Constructor (image-model).
......@@ -112,7 +112,7 @@ public:
ImageImporter( const QString& filename,
int width =-1,
int height =-1,
QObject* parent =NULL );
QObject* p =NULL );
/**
* \brief Destructor.
......
......@@ -103,7 +103,7 @@ public:
/** \brief Constructor. */
#if IMAGE_PROPERTIES_IS_QOBJECT
ImageProperties( QObject* parent =NULL );
ImageProperties( QObject* p =NULL );
#else
ImageProperties();
#endif
......
......@@ -86,7 +86,7 @@ class Monteverdi_EXPORT MyClass :
public:
/** \brief Constructor. */
MyClass( QObject* parent =NULL );
MyClass( QObject* p =NULL );
/** \brief Destructor. */
virtual ~MyClass();
......
......@@ -100,7 +100,7 @@ public:
* \brief Constructor.
*/
OverviewBuilder( const GDALOverviewsBuilderVector & builders,
QObject * parent =NULL );
QObject * p =NULL );
/**
* \brief Destructor.
......
......@@ -93,7 +93,7 @@ public:
public:
/** Constructor */
QuicklookModel( QObject* parent =NULL );
QuicklookModel( QObject* p =NULL );
/** Destructor */
virtual ~QuicklookModel();
......
......@@ -108,7 +108,7 @@ public:
public:
/** \brief Constructor. */
StackedLayerModel( QObject* parent =NULL );
StackedLayerModel( QObject* p =NULL );
/** \brief Destructor. */
virtual ~StackedLayerModel();
......
......@@ -110,7 +110,7 @@ public:
static const unsigned int DEFAULT_LOD_SIZE;
/** Constructor */
VectorImageModel( QObject* parent =NULL );
VectorImageModel( QObject* p =NULL );
/** Destructor */
virtual ~VectorImageModel();
......
......@@ -87,8 +87,8 @@ ENHANCED_BAND_NAMES[ 10 ] = {
/*******************************************************************************/
AbstractImageModel
::AbstractImageModel( QObject* parent ) :
AbstractLayerModel( parent ),
::AbstractImageModel( QObject* p ) :
AbstractLayerModel( p ),
m_NativeLargestRegion(),
m_Id( -1 ),
m_CurrentLod( 0 ),
......
......@@ -113,8 +113,8 @@ GetSpatialReferenceType( const std::string & wkt, bool hasKwl )
/* CLASS IMPLEMENTATION SECTION */
/*****************************************************************************/
AbstractLayerModel
::AbstractLayerModel( QObject* parent ) :
AbstractModel( parent ),
::AbstractLayerModel( QObject* p ) :
AbstractModel( p ),
VisibleInterface()
{
}
......
......@@ -55,8 +55,8 @@ namespace mvd
/*******************************************************************************/
AbstractModel
::AbstractModel( QObject* parent ) :
QObject( parent )
::AbstractModel( QObject* p ) :
QObject( p )
{
}
......
......@@ -66,8 +66,8 @@ namespace
/*******************************************************************************/
AbstractWorker
::AbstractWorker( QObject* parent ) :
QObject( parent )
::AbstractWorker( QObject* p ) :
QObject( p )
{
}
......
......@@ -66,8 +66,8 @@ namespace mvd
/*******************************************************************************/
ApplicationsBrowser
::ApplicationsBrowser( QObject* parent ) :
QObject( parent ),
::ApplicationsBrowser( QObject* p ) :
QObject( p ),
m_AutoLoadPath("")
{
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment