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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kanagram/src/leitnersystem.cpp b/kanagram/src/leitnersystem.cpp
index 0705c5c2..6a44593b 100644
--- a/kanagram/src/leitnersystem.cpp
+++ b/kanagram/src/leitnersystem.cpp
@@ -79,7 +79,7 @@ const TQString& LeitnerSystem::getNextBox( TQString& previousBox )
return getBox( i );
}
- return TQString::null;
+ return TQString();
}
const TQString& LeitnerSystem::getCorrectBox( int box )
@@ -114,7 +114,7 @@ void LeitnerSystem::deleteBox( LeitnerBox* box )
bool LeitnerSystem::insertBox( const TQString& name, int correctWordBox, int wrongWordBox )
{
- if( getBoxNameList().contains( name ) != 0 )
+ if( getBoxNameList().tqcontains( name ) != 0 )
return false;
LeitnerBox tmpBox;
@@ -133,9 +133,9 @@ void LeitnerSystem::setSystemName( const TQString& name )
int LeitnerSystem::getNumber( LeitnerBox* box )
{
- if( m_boxes.findIndex( *box ) == -1 )
+ if( m_boxes.tqfindIndex( *box ) == -1 )
kdDebug() << "muhaha" << endl;
- return m_boxes.findIndex( *box );
+ return m_boxes.tqfindIndex( *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().contains( name ) != 0 )
+ if( getBoxNameList().tqcontains( name ) != 0 )
return false;
LeitnerBox tmpBox;