diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | f1087d880d002e2f4bde6adad1592bda91460d12 (patch) | |
tree | 4299342b1275cda0c626877485a02fa8fdd7c1d5 /src/gvcore/qxcfi.cpp | |
parent | ff8c66f117613688a0979d2296cbf6c778136419 (diff) | |
download | gwenview-f1087d880d002e2f4bde6adad1592bda91460d12.tar.gz gwenview-f1087d880d002e2f4bde6adad1592bda91460d12.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvcore/qxcfi.cpp')
-rw-r--r-- | src/gvcore/qxcfi.cpp | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/gvcore/qxcfi.cpp b/src/gvcore/qxcfi.cpp index 8c690ba..89ef317 100644 --- a/src/gvcore/qxcfi.cpp +++ b/src/gvcore/qxcfi.cpp @@ -561,7 +561,7 @@ void XCFImageFormat::initializeImage ( XCFImage& xcf_image ) // individual colors. // Note: TQt treats a bitmap with a Black and White color palette - // as a tqmask, so only the "on" bits are drawn, regardless of the + // as a mask, so only the "on" bits are drawn, regardless of the // order color table entries. Otherwise (i.e., at least one of the // color table entries is not black or white), it obeys the one- // or two-color palette. Have to ask about this... @@ -750,7 +750,7 @@ void XCFImageFormat::setPalette ( XCFImage& xcf_image, TQImage& image ) /*! * An XCF file can contain an arbitrary number of properties associated - * with the image (and layer and tqmask). + * with the image (and layer and mask). * \param xcf_io the data stream connected to the XCF image * \param xcf_image XCF image data. * \return true if there were no I/O errors. @@ -964,15 +964,15 @@ bool XCFImageFormat::loadLayerProperties ( SafeDataStream& xcf_io, Layer& layer break; case PROP_APPLY_MASK: - property >> layer.apply_tqmask; + property >> layer.apply_mask; break; case PROP_EDIT_MASK: - property >> layer.edit_tqmask; + property >> layer.edit_mask; break; case PROP_SHOW_MASK: - property >> layer.show_tqmask; + property >> layer.show_mask; break; case PROP_OFFSETS: @@ -995,9 +995,9 @@ bool XCFImageFormat::loadLayerProperties ( SafeDataStream& xcf_io, Layer& layer /*! * An XCF file can contain an arbitrary number of properties associated - * with a channel. Note that this routine only reads tqmask channel properties. + * with a channel. Note that this routine only reads mask channel properties. * \param xcf_io the data stream connected to the XCF image. - * \param layer layer containing the tqmask channel to collect the properties. + * \param layer layer containing the mask channel to collect the properties. * \return true if there were no I/O errors. */ bool XCFImageFormat::loadChannelProperties ( SafeDataStream& xcf_io, Layer& layer ) @@ -1167,9 +1167,9 @@ bool XCFImageFormat::loadLevel ( SafeDataStream& xcf_io, Layer& layer, TQ_INT32 } /*! - * A layer can have a one channel image which is used as a tqmask. + * A layer can have a one channel image which is used as a mask. * \param xcf_io the data stream connected to the XCF image. - * \param layer the layer to collect the tqmask image. + * \param layer the layer to collect the mask image. * \return true if there were no I/O errors. */ bool XCFImageFormat::loadMask ( SafeDataStream& xcf_io, Layer& layer ) @@ -1181,7 +1181,7 @@ bool XCFImageFormat::loadMask ( SafeDataStream& xcf_io, Layer& layer ) xcf_io >> width >> height >> name; if ( xcf_io.failed() ) { - qDebug( "XCF: read failure on tqmask info" ); + qDebug( "XCF: read failure on mask info" ); return false; } @@ -1194,7 +1194,7 @@ bool XCFImageFormat::loadMask ( SafeDataStream& xcf_io, Layer& layer ) xcf_io >> hierarchy_offset; if ( xcf_io.failed() ) { - qDebug( "XCF: read failure on tqmask image offset" ); + qDebug( "XCF: read failure on mask image offset" ); return false; } @@ -1393,8 +1393,8 @@ void XCFImageFormat::assignImageBytes ( Layer& layer, uint i, uint j ) } /*! - * Copy the bytes from the tile buffer into the tqmask tile TQImage. - * \param layer layer containing the tile buffer and the tqmask tile matrix. + * Copy the bytes from the tile buffer into the mask tile TQImage. + * \param layer layer containing the tile buffer and the mask tile matrix. * \param i column index of current tile. * \param j row index of current tile. */ @@ -1605,9 +1605,9 @@ void XCFImageFormat::copyRGBToRGB ( Layer& layer, uint i, uint j, int k, int l, if ( layer.type == RGBA_GIMAGE ) src_a = INT_MULT( src_a, tqAlpha( src ) ); - // Apply the tqmask (if any) + // Apply the mask (if any) - if ( layer.apply_tqmask == 1 && layer.mask_tiles.size() > j && + if ( layer.apply_mask == 1 && layer.mask_tiles.size() > j && layer.mask_tiles[j].size() > i ) src_a = INT_MULT( src_a, layer.mask_tiles[j][i].pixelIndex( k, l ) ); @@ -1678,9 +1678,9 @@ void XCFImageFormat::copyGrayAToRGB ( Layer& layer, uint i, uint j, int k, int l src_a = INT_MULT( src_a, layer.opacity ); - // Apply the tqmask (if any) + // Apply the mask (if any) - if ( layer.apply_tqmask == 1 && layer.mask_tiles.size() > j && + if ( layer.apply_mask == 1 && layer.mask_tiles.size() > j && layer.mask_tiles[j].size() > i ) src_a = INT_MULT( src_a, layer.mask_tiles[j][i].pixelIndex( k, l ) ); @@ -1726,7 +1726,7 @@ void XCFImageFormat::copyIndexedAToIndexed ( Layer& layer,uint i,uint j,int k,in src_a = INT_MULT( src_a, layer.opacity ); - if ( layer.apply_tqmask == 1 && + if ( layer.apply_mask == 1 && layer.mask_tiles.size() > j && layer.mask_tiles[j].size() > i ) src_a = INT_MULT( src_a, @@ -1762,9 +1762,9 @@ void XCFImageFormat::copyIndexedAToRGB ( Layer& layer, uint i, uint j, int k, in src_a = INT_MULT( src_a, layer.opacity ); - // Apply the tqmask (if any) + // Apply the mask (if any) - if ( layer.apply_tqmask == 1 && layer.mask_tiles.size() > j && + if ( layer.apply_mask == 1 && layer.mask_tiles.size() > j && layer.mask_tiles[j].size() > i ) src_a = INT_MULT( src_a, layer.mask_tiles[j][i].pixelIndex( k, l ) ); @@ -2019,9 +2019,9 @@ void XCFImageFormat::mergeRGBToRGB ( Layer& layer, uint i, uint j, int k, int l, src_a = INT_MULT( src_a, layer.opacity ); - // Apply the tqmask (if any) + // Apply the mask (if any) - if ( layer.apply_tqmask == 1 && layer.mask_tiles.size() > j && + if ( layer.apply_mask == 1 && layer.mask_tiles.size() > j && layer.mask_tiles[j].size() > i ) src_a = INT_MULT( src_a, layer.mask_tiles[j][i].pixelIndex( k, l ) ); @@ -2121,9 +2121,9 @@ void XCFImageFormat::mergeGrayAToGray ( Layer& layer, uint i, uint j, int k, int src_a = INT_MULT( src_a, layer.opacity ); - // Apply the tqmask (if any) + // Apply the mask (if any) - if ( layer.apply_tqmask == 1 && layer.mask_tiles.size() > j && + if ( layer.apply_mask == 1 && layer.mask_tiles.size() > j && layer.mask_tiles[j].size() > i ) src_a = INT_MULT( src_a, layer.mask_tiles[j][i].pixelIndex( k, l ) ); @@ -2232,9 +2232,9 @@ void XCFImageFormat::mergeGrayAToRGB ( Layer& layer, uint i, uint j, int k, int src_a = INT_MULT( src_a, layer.opacity ); - // Apply the tqmask (if any) + // Apply the mask (if any) - if ( layer.apply_tqmask == 1 && layer.mask_tiles.size() > j && + if ( layer.apply_mask == 1 && layer.mask_tiles.size() > j && layer.mask_tiles[j].size() > i ) src_a = INT_MULT( src_a, layer.mask_tiles[j][i].pixelIndex( k, l ) ); @@ -2290,7 +2290,7 @@ void XCFImageFormat::mergeIndexedAToIndexed ( Layer& layer,uint i,uint j,int k,i src_a = INT_MULT( src_a, layer.opacity ); - if ( layer.apply_tqmask == 1 && + if ( layer.apply_mask == 1 && layer.mask_tiles.size() > j && layer.mask_tiles[j].size() > i ) src_a = INT_MULT( src_a, @@ -2324,9 +2324,9 @@ void XCFImageFormat::mergeIndexedAToRGB ( Layer& layer, uint i, uint j, int k, i src_a = INT_MULT( src_a, layer.opacity ); - // Apply the tqmask (if any) + // Apply the mask (if any) - if ( layer.apply_tqmask == 1 && layer.mask_tiles.size() > j && + if ( layer.apply_mask == 1 && layer.mask_tiles.size() > j && layer.mask_tiles[j].size() > i ) src_a = INT_MULT( src_a, layer.mask_tiles[j][i].pixelIndex( k, l ) ); |