63 mPageSizes.append( size );
68 QList< QgsPageSize > result;
69 QList< QgsPageSize >::const_iterator it = mPageSizes.constBegin();
70 for ( ; it != mPageSizes.constEnd(); ++it )
72 result.push_back( *it );
79 QList< QgsPageSize > result;
80 QList< QgsPageSize >::const_iterator it = mPageSizes.constBegin();
81 for ( ; it != mPageSizes.constEnd(); ++it )
83 if ( ( *it ).name.compare( name, Qt::CaseInsensitive ) == 0 )
85 result.push_back( *it );
95 const auto constMPageSizes = mPageSizes;
96 for (
const QgsPageSize &pageSize : constMPageSizes )
105 return pageSize.name;
113 const QList< QgsPageSize > matches =
find( pageSizeName.trimmed() );
114 if ( matches.length() > 0 )
116 pageSize = matches.at( 0 );
134 , displayName( displayName )
151 return ( !
operator==( other ) );