summaryrefslogtreecommitdiffstats
path: root/krecipes/src/datablocks/recipe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/datablocks/recipe.cpp')
-rw-r--r--krecipes/src/datablocks/recipe.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/krecipes/src/datablocks/recipe.cpp b/krecipes/src/datablocks/recipe.cpp
index c1ef971..dd00f07 100644
--- a/krecipes/src/datablocks/recipe.cpp
+++ b/krecipes/src/datablocks/recipe.cpp
@@ -24,29 +24,29 @@ void Recipe::empty( void )
yield.amount = 1;
yield.amount_offset = 0;
- yield.type = QString::null;
+ yield.type = TQString::null;
- title = QString::null;
- instructions = QString::null;
- photo = QPixmap();
+ title = TQString::null;
+ instructions = TQString::null;
+ photo = TQPixmap();
ingList.empty();
categoryList.clear();
authorList.clear();
ratingList.clear();
- prepTime = QTime( 0, 0 );
+ prepTime = TQTime( 0, 0 );
}
-QString Yield::amountToString() const
+TQString Yield::amountToString() const
{
- QString ret = QString::number(amount);
+ TQString ret = TQString::number(amount);
if ( amount_offset > 0 )
- ret += "-"+QString::number(amount+amount_offset);
+ ret += "-"+TQString::number(amount+amount_offset);
return ret;
}
-QString Yield::toString() const
+TQString Yield::toString() const
{
return amountToString() + " " + type;
}