summaryrefslogtreecommitdiffstats
path: root/src/datablocks
diff options
context:
space:
mode:
Diffstat (limited to 'src/datablocks')
-rw-r--r--src/datablocks/recipe.cpp2
-rw-r--r--src/datablocks/recipe.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/datablocks/recipe.cpp b/src/datablocks/recipe.cpp
index dd00f07..eb9c44b 100644
--- a/src/datablocks/recipe.cpp
+++ b/src/datablocks/recipe.cpp
@@ -28,7 +28,7 @@ void Recipe::empty( void )
title = TQString::null;
instructions = TQString::null;
- photo = TQPixmap();
+ photo = TQImage();
ingList.empty();
categoryList.clear();
authorList.clear();
diff --git a/src/datablocks/recipe.h b/src/datablocks/recipe.h
index c1c8aab..21b4a11 100644
--- a/src/datablocks/recipe.h
+++ b/src/datablocks/recipe.h
@@ -12,7 +12,7 @@
#define RECIPE_H
#include <tqstring.h>
-#include <tqpixmap.h>
+#include <tqimage.h>
#include <tqdatetime.h>
#include "ingredientlist.h"
@@ -48,7 +48,7 @@ public:
Yield yield;
TQString title;
TQString instructions;
- TQPixmap photo;
+ TQImage photo;
IngredientList ingList;
ElementList categoryList; // id+name
ElementList authorList; //authors' id+name