diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
| commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
| tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /kpresenter/KPrTextObject.cpp | |
| parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
| download | koffice-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 'kpresenter/KPrTextObject.cpp')
| -rw-r--r-- | kpresenter/KPrTextObject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrTextObject.cpp b/kpresenter/KPrTextObject.cpp index c696a8e5b..06b5d5df0 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 ) { |
