summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp b/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp
index 64d5a7c9..c2e54a58 100644
--- a/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp
@@ -118,23 +118,23 @@ KivioStencilSpawner* KivioStencilSpawnerSet::loadFile( const TQString &fileName
KivioStencilSpawner *pSpawner;
- if( fileName.tqcontains( ".sml", false ) )
+ if( fileName.contains( ".sml", false ) )
{
pSpawner = new KivioSMLStencilSpawner(this);
}
- else if( fileName.tqcontains( ".ksp", false ) )
+ else if( fileName.contains( ".ksp", false ) )
{
pSpawner = new KivioPluginStencilSpawner(this);
}
- else if( fileName.tqcontains( ".so", false ) )
+ else if( fileName.contains( ".so", false ) )
{
pSpawner = new KivioPluginStencilSpawner(this);
}
- else if( fileName.tqcontains( ".spy", false ) )
+ else if( fileName.contains( ".spy", false ) )
{
pSpawner = new KivioPyStencilSpawner(this);
}
- else if( fileName.tqcontains( ".tqshape", false ) )
+ else if( fileName.contains( ".tqshape", false ) )
{
pSpawner = new KivioDiaStencilSpawner(this);
}
@@ -167,7 +167,7 @@ TQString KivioStencilSpawnerSet::readTitle( const TQString &dir )
{
kdDebug(43000) << "KivioStencilSpawnerSet::readTitle() - Error opening stencil set title: " <<
dir << "/desc" << endl;
- return dir.right(dir.length() - dir.tqfindRev('/')-1);
+ return dir.right(dir.length() - dir.findRev('/')-1);
}
d.setContent(&f);
@@ -289,7 +289,7 @@ TQString KivioStencilSpawnerSet::readDescription(const TQString& dir)
}
-KivioStencilSpawner* KivioStencilSpawnerSet::tqfind( const TQString& id)
+KivioStencilSpawner* KivioStencilSpawnerSet::find( const TQString& id)
{
if(!m_pSpawners || m_pSpawners->isEmpty()) {
return 0;