@@ -43,7 +43,8 @@ QMap< QString, QgsCptCityArchive* > QgsCptCityArchive::archiveRegistry() { retur
43
43
QMap< QString, QMap< QString, QString > > QgsCptCityArchive::mCopyingInfoMap ;
44
44
45
45
QgsCptCityArchive::QgsCptCityArchive ( QString archiveName, QString baseDir )
46
- : mArchiveName( archiveName ), mBaseDir( baseDir )
46
+ : mArchiveName( archiveName )
47
+ , mBaseDir( baseDir )
47
48
{
48
49
QgsDebugMsg ( " archiveName = " + archiveName + " baseDir = " + baseDir );
49
50
@@ -496,8 +497,9 @@ void QgsCptCityArchive::clearArchives()
496
497
QgsCptCityDataItem::QgsCptCityDataItem ( QgsCptCityDataItem::Type type, QgsCptCityDataItem* parent,
497
498
QString name, QString path )
498
499
// Do not pass parent to QObject, Qt would delete this when parent is deleted
499
- : QObject(), mType( type ), mParent( parent ), mPopulated( false ),
500
- mName( name ), mPath( path ), mValid( true )
500
+ : QObject()
501
+ , mType( type ), mParent( parent ), mPopulated( false )
502
+ , mName( name ), mPath( path ), mValid( true )
501
503
{
502
504
}
503
505
@@ -709,8 +711,9 @@ bool QgsCptCityDataItem::equal( const QgsCptCityDataItem *other )
709
711
710
712
QgsCptCityColorRampItem::QgsCptCityColorRampItem ( QgsCptCityDataItem* parent,
711
713
QString name, QString path, QString variantName, bool initialize )
712
- : QgsCptCityDataItem( ColorRamp, parent, name, path ),
713
- mInitialised( false ), mRamp( path, variantName, false )
714
+ : QgsCptCityDataItem( ColorRamp, parent, name, path )
715
+ , mInitialised( false )
716
+ , mRamp( path, variantName, false )
714
717
{
715
718
// QgsDebugMsg( "name= " + name + " path= " + path );
716
719
mPopulated = true ;
@@ -720,8 +723,9 @@ QgsCptCityColorRampItem::QgsCptCityColorRampItem( QgsCptCityDataItem* parent,
720
723
721
724
QgsCptCityColorRampItem::QgsCptCityColorRampItem ( QgsCptCityDataItem* parent,
722
725
QString name, QString path, QStringList variantList, bool initialize )
723
- : QgsCptCityDataItem( ColorRamp, parent, name, path ),
724
- mInitialised( false ), mRamp( path, variantList, QString(), false )
726
+ : QgsCptCityDataItem( ColorRamp, parent, name, path )
727
+ , mInitialised( false )
728
+ , mRamp( path, variantList, QString(), false )
725
729
{
726
730
// QgsDebugMsg( "name= " + name + " path= " + path );
727
731
mPopulated = true ;
@@ -836,7 +840,8 @@ QIcon QgsCptCityColorRampItem::icon( const QSize& size )
836
840
// ---------------------------------------------------------------------
837
841
QgsCptCityCollectionItem::QgsCptCityCollectionItem ( QgsCptCityDataItem* parent,
838
842
QString name, QString path )
839
- : QgsCptCityDataItem( Collection, parent, name, path ), mPopulatedRamps( false )
843
+ : QgsCptCityDataItem( Collection, parent, name, path )
844
+ , mPopulatedRamps( false )
840
845
{
841
846
}
842
847
0 commit comments