summaryrefslogtreecommitdiffstats
path: root/kanagram/src/leitnersystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src/leitnersystem.cpp')
-rw-r--r--kanagram/src/leitnersystem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kanagram/src/leitnersystem.cpp b/kanagram/src/leitnersystem.cpp
index 6a44593b..2ee407e5 100644
--- a/kanagram/src/leitnersystem.cpp
+++ b/kanagram/src/leitnersystem.cpp
@@ -114,7 +114,7 @@ void LeitnerSystem::deleteBox( LeitnerBox* box )
bool LeitnerSystem::insertBox( const TQString& name, int correctWordBox, int wrongWordBox )
{
- if( getBoxNameList().tqcontains( name ) != 0 )
+ if( getBoxNameList().contains( name ) != 0 )
return false;
LeitnerBox tmpBox;
@@ -133,9 +133,9 @@ void LeitnerSystem::setSystemName( const TQString& name )
int LeitnerSystem::getNumber( LeitnerBox* box )
{
- if( m_boxes.tqfindIndex( *box ) == -1 )
+ if( m_boxes.findIndex( *box ) == -1 )
kdDebug() << "muhaha" << endl;
- return m_boxes.tqfindIndex( *box );
+ return m_boxes.findIndex( *box );
}
bool LeitnerSystem::setBoxName( int box, const TQString& name )
@@ -164,7 +164,7 @@ bool LeitnerSystem::setBoxName( LeitnerBox* box, const TQString& name )
bool LeitnerSystem::insertBox( const TQString& name )
{
- if( getBoxNameList().tqcontains( name ) != 0 )
+ if( getBoxNameList().contains( name ) != 0 )
return false;
LeitnerBox tmpBox;