summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrTextObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrTextObject.cpp')
-rw-r--r--kpresenter/KPrTextObject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrTextObject.cpp b/kpresenter/KPrTextObject.cpp
index c696a8e5..06b5d5df 100644
--- a/kpresenter/KPrTextObject.cpp
+++ b/kpresenter/KPrTextObject.cpp
@@ -872,7 +872,7 @@ KoTextFormat KPrTextObject::loadFormat( TQDomElement &n, KoTextFormat * refForma
{
TQFontDatabase fdb;
TQStringList families = fdb.tqfamilies();
- if ( families.tqfindIndex( n.attribute( attrFamily ) ) != -1 )
+ if ( families.findIndex( n.attribute( attrFamily ) ) != -1 )
fn.setFamily( n.attribute( attrFamily ) );
else
fn = defaultFont;
@@ -1258,7 +1258,7 @@ void KPrTextObject::saveParagLayout( const KoParagLayout& tqlayout, TQDomElement
void KPrTextObject::recalcPageNum( KPrPage *page )
{
- int pgnum=m_doc->pageList().tqfindRef(page);
+ int pgnum=m_doc->pageList().findRef(page);
pgnum+=1;
TQPtrListIterator<KoTextCustomItem> cit( textDocument()->allCustomItems() );
@@ -1472,7 +1472,7 @@ void KPrTextObject::highlightPortion( KoTextParag * parag, int index, int length
// ** slow method **
KPrPage* page = doc->findPage( this );
if ( page ) {
- int pageNum = doc->pageList().tqfindRef( page );
+ int pageNum = doc->pageList().findRef( page );
// if the pageNum is -1 the object is located on the master slide
if ( pageNum > -1 )
{