summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_layerlist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_layerlist.cc')
-rw-r--r--chalk/ui/kis_layerlist.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/ui/kis_layerlist.cc b/chalk/ui/kis_layerlist.cc
index 24ae2738..985bd0c6 100644
--- a/chalk/ui/kis_layerlist.cc
+++ b/chalk/ui/kis_layerlist.cc
@@ -181,16 +181,16 @@ TQString KisLayerItem::tooltip() const
TQString text = super::tooltip();
text = text.left( text.length() - 8 ); //HACK -- strip the </table>
TQString row = "<tr><td>%1</td><td>%2</td></tr>";
- text += row.arg( i18n( "Opacity:" ) ).arg( "%1%" ).arg( int( float( m_layer->opacity() * 100 ) / 255 + 0.5 ) );
- text += row.arg( i18n( "Composite mode:" ) ).arg( m_layer->compositeOp().id().name() );
+ text += row.tqarg( i18n( "Opacity:" ) ).tqarg( "%1%" ).tqarg( int( float( m_layer->opacity() * 100 ) / 255 + 0.5 ) );
+ text += row.tqarg( i18n( "Composite mode:" ) ).tqarg( m_layer->compositeOp().id().name() );
if( KisPaintLayer *player = dynamic_cast<KisPaintLayer*>( m_layer ) )
{
- text += row.arg( i18n( "Colorspace:" ) ).arg( player->paintDevice()->colorSpace()->id().name() );
+ text += row.tqarg( i18n( "Colorspace:" ) ).tqarg( player->paintDevice()->colorSpace()->id().name() );
if( KisProfile *profile = player->paintDevice()->colorSpace()->getProfile() )
- text += row.arg( i18n( "Profile:" ) ).arg( profile->productName() );
+ text += row.tqarg( i18n( "Profile:" ) ).tqarg( profile->productName() );
}
if( KisAdjustmentLayer *alayer = dynamic_cast<KisAdjustmentLayer*>( m_layer ) )
- text += row.arg( i18n( "Filter: " ) ).arg( KisFilterRegistry::instance()->get( alayer->filter()->name() )->id().name() );
+ text += row.tqarg( i18n( "Filter: " ) ).tqarg( KisFilterRegistry::instance()->get( alayer->filter()->name() )->id().name() );
if( KisPartLayerImpl *player = dynamic_cast<KisPartLayerImpl*>( m_layer ) ) {
TQString type = player->docType();
@@ -198,7 +198,7 @@ TQString KisLayerItem::tooltip() const
type = player->childDoc()->document()->instance()->aboutData()->programName();
}
- text += row.arg( i18n( "Document type: " ) ).arg( type );
+ text += row.tqarg( i18n( "Document type: " ) ).tqarg( type );
}
text += "</table>";