diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:31 -0600 |
commit | c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch) | |
tree | 1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /chalk/ui/kis_layerlist.cc | |
parent | 94844816550ad672ccfcdc25659c625546239998 (diff) | |
download | koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'chalk/ui/kis_layerlist.cc')
-rw-r--r-- | chalk/ui/kis_layerlist.cc | 12 |
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>"; |