mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
identation update
This commit is contained in:
parent
1f0f39b4e5
commit
fc22bf19b1
@ -575,7 +575,7 @@ void QgsComposerAttributeTableWidget::updateRelationsCombo()
|
||||
if ( atlasLayer )
|
||||
{
|
||||
QList<QgsRelation> relations = QgsProject::instance()->relationManager()->referencedRelations( atlasLayer );
|
||||
Q_FOREACH( const QgsRelation& relation, relations )
|
||||
Q_FOREACH ( const QgsRelation& relation, relations )
|
||||
{
|
||||
mRelationsComboBox->addItem( relation.name(), relation.id() );
|
||||
}
|
||||
|
@ -674,7 +674,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
|
||||
|
||||
QgsPreviewEffect* mPreviewEffect;
|
||||
|
||||
QgsRectangle imageRect(const QImage& img , const QgsMapSettings& mapSettings );
|
||||
QgsRectangle imageRect( const QImage& img, const QgsMapSettings& mapSettings );
|
||||
|
||||
QgsSnappingUtils* mSnappingUtils;
|
||||
|
||||
|
@ -315,7 +315,7 @@ QString QgsBench::serialize( QMap<QString, QVariant> theMap, int level )
|
||||
QMap<QString, QVariant>::const_iterator i = theMap.constBegin();
|
||||
while ( i != theMap.constEnd() )
|
||||
{
|
||||
switch ( (QMetaType::Type)i.value().type() )
|
||||
switch (( QMetaType::Type )i.value().type() )
|
||||
{
|
||||
case QMetaType::Int:
|
||||
list.append( space2 + "\"" + i.key() + "\": " + QString( "%1" ).arg( i.value().toInt() ) );
|
||||
|
@ -44,11 +44,11 @@ def elemIsDocumentableClass(elem):
|
||||
|
||||
def elemIsDocumentableMember(elem):
|
||||
if elem.get('kind') == 'variable':
|
||||
return False
|
||||
return False
|
||||
|
||||
#only public or protected members should be documented
|
||||
if not elem.get('prot') in ('public','protected'):
|
||||
return False
|
||||
return False
|
||||
|
||||
#ignore reimplemented methods
|
||||
#use two different tests, as doxygen will not detect reimplemented qt methods
|
||||
@ -120,4 +120,3 @@ class TestQgsDocCoverage(TestCase):
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user