summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner_lib/structurewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/kudesigner_lib/structurewidget.cpp')
-rw-r--r--kugar/kudesigner_lib/structurewidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kugar/kudesigner_lib/structurewidget.cpp b/kugar/kudesigner_lib/structurewidget.cpp
index e629beca..945d3b71 100644
--- a/kugar/kudesigner_lib/structurewidget.cpp
+++ b/kugar/kudesigner_lib/structurewidget.cpp
@@ -174,7 +174,7 @@ void StructureWidget::refreshSectionContents( Kudesigner::Band *section, Structu
name = tqtr( "Calculated Field: %1" ).tqarg( box->props[ "Field" ].value().toString() );
break;
case Kudesigner::Rtti_Special:
- idx = box->props[ "Type" ].listData()->keys.tqfindIndex(
+ 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() );
break;
@@ -194,7 +194,7 @@ void StructureWidget::selectionMade()
BoxList sel = m_doc->selected;
for ( BoxList::iterator it = sel.begin(); it != sel.end(); ++it )
{
- if ( m_items.tqcontains( *it ) )
+ if ( m_items.contains( *it ) )
{
StructureItem * item = static_cast<StructureItem*>( m_items[ *it ] );
item->setBold( true );
@@ -220,7 +220,7 @@ void StructureWidget::selectItem( TQListViewItem *item )
{
if ( !item )
return ;
- int idx = m_items.values().tqfindIndex( static_cast<StructureItem*>( item ) );
+ int idx = m_items.values().findIndex( static_cast<StructureItem*>( item ) );
if ( idx == -1 )
return ;
Kudesigner::Box *box = m_items.keys() [ idx ];