Skip to content
Permalink
Browse files

identation update

  • Loading branch information
jef-n committed Feb 18, 2015
1 parent 1f0f39b commit fc22bf19b1b740b861360d66ef7bf1900048a27e
@@ -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 @@ def testCoverage(self):

if __name__ == '__main__':
unittest.main()

0 comments on commit fc22bf1

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