diff options
Diffstat (limited to 'src/backends')
-rw-r--r-- | src/backends/recipedb.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backends/recipedb.cpp b/src/backends/recipedb.cpp index fff517b..0968c13 100644 --- a/src/backends/recipedb.cpp +++ b/src/backends/recipedb.cpp @@ -98,7 +98,7 @@ TQString RecipeDB::krecipes_version() const RecipeDB* RecipeDB::createDatabase( const TQString &dbType, const TQString &file ) { - TDEConfig * config = kapp->config(); + TDEConfig * config = tdeApp->config(); config->setGroup( "Server" ); TQString host = config->readEntry( "Host", "localhost" ); TQString user = config->readEntry( "Username", TQString::null ); @@ -285,7 +285,7 @@ bool RecipeDB::backup( const TQString &backup_file, TQString *errMsg ) return false; } - TDEConfig * config = kapp->config(); + TDEConfig * config = tdeApp->config(); config->setGroup( "DBType" ); (*dumpStream) << "-- Generated for Krecipes v"<<krecipes_version()<<endl; @@ -392,7 +392,7 @@ bool RecipeDB::restore( const TQString &file, TQString *errMsg ) return false; } - TDEConfig * config = kapp->config(); + TDEConfig * config = tdeApp->config(); config->setGroup( "DBType" ); TQString dbType = stream.readLine().stripWhiteSpace(); dbType = dbType.right( dbType.length() - dbType.find(":") - 2 ); @@ -448,7 +448,7 @@ bool RecipeDB::restore( const TQString &file, TQString *errMsg ) int prog = 0; while ( process->isRunning() ){ if ( haltOperation ) { break; } - kapp->processEvents(); + tdeApp->processEvents(); if ( prog % 100 == 0 ) { emit progress(); prog = 0; |