summaryrefslogtreecommitdiffstats
path: root/knights/knightsmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'knights/knightsmap.h')
-rw-r--r--knights/knightsmap.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/knights/knightsmap.h b/knights/knightsmap.h
index a3b1d3d..0cfa7cb 100644
--- a/knights/knightsmap.h
+++ b/knights/knightsmap.h
@@ -15,7 +15,7 @@
* *
***************************************************************************/
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#ifndef KNIGHTSMAP_H
#define KNIGHTSMAP_H
@@ -37,7 +37,7 @@ public:
};
private:
- QValueList<Pair> pairList;
+ TQValueList<Pair> pairList;
Key searchKey;
unsigned int searchIndex;
@@ -88,7 +88,7 @@ void add( KeyType key, DataType data )
/*
Return the next Value associated with the Key given
- in the last call to 'find'. If there are none, then
+ in the last call to 'tqfind'. If there are none, then
NULL is returned.
*/
T& findNext( void )
@@ -110,7 +110,7 @@ T& findNext( void )
the first Value that's associated with the given Key.
If no Value has the given Key, NULL is returned.
*/
-T& find( KeyType key )
+T& tqfind( KeyType key )
{
searchKey = key;
searchIndex = 0;
@@ -120,7 +120,7 @@ T& find( KeyType key )
/* Removes all Values that are associated with Key */
T& remove( KeyType key )
{
- QValueListIterator<Pair> IT( pairList.begin() );
+ TQValueListIterator<Pair> IT( pairList.begin() );
while( IT != pairList.end() )
{
if( (*IT).key == key )