summaryrefslogtreecommitdiffstats
path: root/krecipes/src/datablocks/ingredientproperty.h
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/datablocks/ingredientproperty.h')
-rw-r--r--krecipes/src/datablocks/ingredientproperty.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/krecipes/src/datablocks/ingredientproperty.h b/krecipes/src/datablocks/ingredientproperty.h
index 0acceaf..ecc28cf 100644
--- a/krecipes/src/datablocks/ingredientproperty.h
+++ b/krecipes/src/datablocks/ingredientproperty.h
@@ -10,7 +10,7 @@
#ifndef INGREDIENTPROPERTY_H
#define INGREDIENTPROPERTY_H
-#include <qstring.h>
+#include <ntqstring.h>
#include "unit.h"
@@ -21,12 +21,12 @@ class IngredientProperty
{
public:
IngredientProperty();
- IngredientProperty( const QString &name, const QString &units, int id = -1 );
+ IngredientProperty( const TQString &name, const TQString &units, int id = -1 );
~IngredientProperty();
int id; // The property's id
int ingredientID; // (Optional) reference to the ingredient to which is attached
- QString name; // Name of the property
- QString units; // The units that the property uses
+ TQString name; // Name of the property
+ TQString units; // The units that the property uses
Unit perUnit; // stores the unit ID, name, and type of the per units.
double amount; // Stores the amount, in the case of being attached to an ingredient. If not attached to any, you can set it to -1 preferably. That's the case in which the property is treated as a characteristic any without value (amount).