diff options
Diffstat (limited to 'kugar/kudesigner_lib/structurewidget.cpp')
-rw-r--r-- | kugar/kudesigner_lib/structurewidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kugar/kudesigner_lib/structurewidget.cpp b/kugar/kudesigner_lib/structurewidget.cpp index 7ad4ac1b..01b4289e 100644 --- a/kugar/kudesigner_lib/structurewidget.cpp +++ b/kugar/kudesigner_lib/structurewidget.cpp @@ -142,7 +142,7 @@ void StructureWidget::refreshSection( Kudesigner::Band *section, StructureItem * break; } if ( level > 0 ) - name += tqtr( " (level %1)" ).tqarg( level ); + name += tqtr( " (level %1)" ).arg( level ); StructureItem *item = new StructureItem( root, name ); m_items[ section ] = item; @@ -165,18 +165,18 @@ void StructureWidget::refreshSectionContents( Kudesigner::Band *section, Structu switch ( box->rtti() ) { case Kudesigner::Rtti_Label: - name = tqtr( "Label: %1" ).tqarg( box->props[ "Text" ].value().toString() ); + name = tqtr( "Label: %1" ).arg( box->props[ "Text" ].value().toString() ); break; case Kudesigner::Rtti_Field: - name = tqtr( "Field: %1" ).tqarg( box->props[ "Field" ].value().toString() ); + name = tqtr( "Field: %1" ).arg( box->props[ "Field" ].value().toString() ); break; case Kudesigner::Rtti_Calculated: - name = tqtr( "Calculated Field: %1" ).tqarg( box->props[ "Field" ].value().toString() ); + name = tqtr( "Calculated Field: %1" ).arg( box->props[ "Field" ].value().toString() ); break; case Kudesigner::Rtti_Special: idx = box->props[ "Type" ].listData()->keys.findIndex( box->props[ "Type" ].value().toInt() ); - name = tqtr( "Special Field: %1" ).tqarg( box->props[ "Type" ].listData()->keys[ idx ].toString() ); + name = tqtr( "Special Field: %1" ).arg( box->props[ "Type" ].listData()->keys[ idx ].toString() ); break; case Kudesigner::Rtti_Line: name = tqtr( "Line" ); @@ -198,7 +198,7 @@ void StructureWidget::selectionMade() { StructureItem * item = static_cast<StructureItem*>( m_items[ *it ] ); item->setBold( true ); - item->tqrepaint(); + item->repaint(); m_selected.append( item ); } } @@ -211,7 +211,7 @@ void StructureWidget::selectionClear() if ( ( *it ) == 0 ) continue; ( *it ) ->setBold( false ); - ( *it ) ->tqrepaint(); + ( *it ) ->repaint(); } m_selected.clear(); } |