summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner_lib/structurewidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kugar/kudesigner_lib/structurewidget.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 e629beca9..945d3b71d 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 ];