summaryrefslogtreecommitdiffstats
path: root/src/exporters
diff options
context:
space:
mode:
Diffstat (limited to 'src/exporters')
-rw-r--r--src/exporters/baseexporter.cpp2
-rw-r--r--src/exporters/mmfexporter.cpp2
-rw-r--r--src/exporters/rezkonvexporter.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/exporters/baseexporter.cpp b/src/exporters/baseexporter.cpp
index 60dc5a1..57596f3 100644
--- a/src/exporters/baseexporter.cpp
+++ b/src/exporters/baseexporter.cpp
@@ -140,7 +140,7 @@ void BaseExporter::saveToFile( const TQValueList<int> &ids, RecipeDB *database )
if ( m_progress_dlg ) {
m_progress_dlg->progressBar()->advance( progressInterval() );
- kapp->processEvents();
+ tdeApp->processEvents();
}
}
diff --git a/src/exporters/mmfexporter.cpp b/src/exporters/mmfexporter.cpp
index 33ee1ec..33fb7d1 100644
--- a/src/exporters/mmfexporter.cpp
+++ b/src/exporters/mmfexporter.cpp
@@ -134,7 +134,7 @@ void MMFExporter::writeMMFIngredients( TQString &content, const Recipe &recipe )
void MMFExporter::writeSingleIngredient( TQString &content, const Ingredient &ing, bool is_sub )
{
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup( "Formatting" );
MixedNumber::Format number_format = ( config->readBoolEntry( "Fraction" ) ) ? MixedNumber::MixedNumberFormat : MixedNumber::DecimalFormat;
diff --git a/src/exporters/rezkonvexporter.cpp b/src/exporters/rezkonvexporter.cpp
index b286b65..bda56e6 100644
--- a/src/exporters/rezkonvexporter.cpp
+++ b/src/exporters/rezkonvexporter.cpp
@@ -214,7 +214,7 @@ void RezkonvExporter::writeIngredients( TQString &content, const Recipe &recipe
void RezkonvExporter::writeSingleIngredient( TQString &content, const IngredientData &ing, bool is_sub )
{
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup( "Formatting" );
MixedNumber::Format number_format = ( config->readBoolEntry( "Fraction" ) ) ? MixedNumber::MixedNumberFormat : MixedNumber::DecimalFormat;