summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_page.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_page.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_page.cpp')
-rw-r--r--kivio/kiviopart/kivio_page.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kivio/kiviopart/kivio_page.cpp b/kivio/kiviopart/kivio_page.cpp
index 6e799f93..0b60344b 100644
--- a/kivio/kiviopart/kivio_page.cpp
+++ b/kivio/kiviopart/kivio_page.cpp
@@ -130,7 +130,7 @@ KivioPage::~KivioPage()
delete m_dcop;
}
-KivioPage* KivioPage::tqfind( int _id )
+KivioPage* KivioPage::find( int _id )
{
if ( !s_mapPages )
return 0L;
@@ -306,7 +306,7 @@ bool KivioPage::loadXML( const TQDomElement& pageE )
kdDebug(43000) << "KivioLayer::loadXML() - loading layer connections" << endl;
pLayer->searchForConnections(this);
- m_lstLayers.tqfind( pLayerBak );
+ m_lstLayers.find( pLayerBak );
pLayer = m_lstLayers.next();
}
@@ -560,7 +560,7 @@ void KivioPage::selectStencil( KivioStencil *pStencil )
}
// Don't allow reselection
- if(m_lstSelection.tqfindRef(pStencil) != -1) {
+ if(m_lstSelection.findRef(pStencil) != -1) {
return;
}
@@ -631,7 +631,7 @@ void KivioPage::unselectAllStencils()
bool KivioPage::isStencilSelected(KivioStencil *pStencil)
{
- return m_lstSelection.tqfindRef( pStencil ) == -1;
+ return m_lstSelection.findRef( pStencil ) == -1;
}
/**
@@ -1049,7 +1049,7 @@ bool KivioPage::removeCurrentLayer()
if( pLayer != m_pCurLayer )
{
- if( m_lstLayers.tqfind( m_pCurLayer )==false )
+ if( m_lstLayers.find( m_pCurLayer )==false )
{
kdDebug(43000) << "KivioLayer::removeCurrentLayer() - Couldn't find current layer in the list. Bad!" << endl;
return false;
@@ -1069,7 +1069,7 @@ bool KivioPage::removeCurrentLayer()
return false;
}
- KivioRemoveLayerCommand * cmd = new KivioRemoveLayerCommand( i18n("Remove Layer"), this , m_pCurLayer , m_lstLayers.tqfindRef(m_pCurLayer) );
+ KivioRemoveLayerCommand * cmd = new KivioRemoveLayerCommand( i18n("Remove Layer"), this , m_pCurLayer , m_lstLayers.findRef(m_pCurLayer) );
doc()->addCommand( cmd );
takeLayer( m_pCurLayer );
/*
@@ -1087,7 +1087,7 @@ bool KivioPage::removeCurrentLayer()
void KivioPage::takeLayer( KivioLayer *pLayer )
{
- int pos=m_lstLayers.tqfindRef(pLayer);
+ int pos=m_lstLayers.findRef(pLayer);
m_lstLayers.take( pos );
}