summaryrefslogtreecommitdiffstats
path: root/krecipes/src/datablocks/ingredientlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/datablocks/ingredientlist.h')
-rw-r--r--krecipes/src/datablocks/ingredientlist.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/krecipes/src/datablocks/ingredientlist.h b/krecipes/src/datablocks/ingredientlist.h
index 9f01831..08fd153 100644
--- a/krecipes/src/datablocks/ingredientlist.h
+++ b/krecipes/src/datablocks/ingredientlist.h
@@ -13,8 +13,8 @@
#ifndef INGREDIENTLIST_H
#define INGREDIENTLIST_H
-#include <qvaluelist.h>
-#include <qregexp.h>
+#include <ntqvaluelist.h>
+#include <ntqregexp.h>
#include "datablocks/ingredient.h"
@@ -23,7 +23,7 @@ class RecipeDB;
/**
@author Unai Garro
*/
-class IngredientList: public QValueList <Ingredient>
+class IngredientList: public TQValueList <Ingredient>
{
public:
IngredientList();
@@ -39,8 +39,8 @@ public:
void move( int index1, int count, int index2 );
void empty( void );
int find( int id ) const;
- Ingredient findByName( const QString & ) const;
- Ingredient findByName( const QRegExp & ) const;
+ Ingredient findByName( const TQString & ) const;
+ Ingredient findByName( const TQRegExp & ) const;
IngredientList::const_iterator find( IngredientList::const_iterator, int id ) const;
IngredientList::iterator find( IngredientList::iterator, int id );
@@ -54,8 +54,8 @@ public:
IngredientList nextGroup();
private:
- QValueList<IngredientList::const_iterator> _groupMembers( int id, IngredientList::const_iterator begin ) const;
- QValueList<IngredientList::const_iterator> usedGroups;
+ TQValueList<IngredientList::const_iterator> _groupMembers( int id, IngredientList::const_iterator begin ) const;
+ TQValueList<IngredientList::const_iterator> usedGroups;
};
#endif