summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_map.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 /kivio/kiviopart/kivio_map.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 'kivio/kiviopart/kivio_map.cpp')
-rw-r--r--kivio/kiviopart/kivio_map.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kivio/kiviopart/kivio_map.cpp b/kivio/kiviopart/kivio_map.cpp
index d2cecdba..18914650 100644
--- a/kivio/kiviopart/kivio_map.cpp
+++ b/kivio/kiviopart/kivio_map.cpp
@@ -51,14 +51,14 @@ KivioMap::~KivioMap()
void KivioMap::takePage( KivioPage* page )
{
- int pos=m_lstPages.tqfindRef(page);
+ int pos=m_lstPages.findRef(page);
m_lstPages.take( pos );
m_lstDeletedPages.append( page );
}
void KivioMap::insertPage( KivioPage* page )
{
- int pos=m_lstDeletedPages.tqfindRef(page);
+ int pos=m_lstDeletedPages.findRef(page);
if ( pos != -1 )
m_lstDeletedPages.take( pos);
m_lstPages.append(page);
@@ -74,8 +74,8 @@ void KivioMap::movePage( const TQString& fromPageName, const TQString& toPageNam
KivioPage* pagefrom = findPage(fromPageName);
KivioPage* pageto = findPage(toPageName);
- int from = m_lstPages.tqfind(pagefrom);
- int to = m_lstPages.tqfind(pageto);
+ int from = m_lstPages.find(pagefrom);
+ int to = m_lstPages.find(pageto);
if (!before)
++to;