summaryrefslogtreecommitdiffstats
path: root/krecipes/src/datablocks/recipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/datablocks/recipe.h')
-rw-r--r--krecipes/src/datablocks/recipe.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/krecipes/src/datablocks/recipe.h b/krecipes/src/datablocks/recipe.h
index 536864c..1ff7f8b 100644
--- a/krecipes/src/datablocks/recipe.h
+++ b/krecipes/src/datablocks/recipe.h
@@ -11,9 +11,9 @@
#ifndef RECIPE_H
#define RECIPE_H
-#include <qstring.h>
-#include <qpixmap.h>
-#include <qdatetime.h>
+#include <ntqstring.h>
+#include <ntqpixmap.h>
+#include <ntqdatetime.h>
#include "ingredientlist.h"
#include "datablocks/rating.h"
@@ -23,14 +23,14 @@
class Yield
{
public:
- Yield() : amount(1), amount_offset(0), type(QString::null), type_id(-1){}
+ Yield() : amount(1), amount_offset(0), type(TQString::null), type_id(-1){}
- QString amountToString() const;
- QString toString() const;
+ TQString amountToString() const;
+ TQString toString() const;
double amount;
double amount_offset;
- QString type;
+ TQString type;
int type_id;
};
@@ -46,17 +46,17 @@ public:
int recipeID;
Yield yield;
- QString title;
- QString instructions;
- QPixmap photo;
+ TQString title;
+ TQString instructions;
+ TQPixmap photo;
IngredientList ingList;
ElementList categoryList; // id+name
ElementList authorList; //authors' id+name
- QTime prepTime;
+ TQTime prepTime;
- QDateTime ctime;
- QDateTime mtime;
- QDateTime atime;
+ TQDateTime ctime;
+ TQDateTime mtime;
+ TQDateTime atime;
RatingList ratingList;
IngredientPropertyList properties;