summaryrefslogtreecommitdiffstats
path: root/src/backends
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-22 12:59:13 +0900
committerMichele Calgaro <[email protected]>2025-01-22 12:59:13 +0900
commit7f398ddb2b4fe41ec8e8105bad220ee5b169854f (patch)
tree557808729ee0c881b8530c0cd460a1b423ba5c95 /src/backends
parent49eecd753fc6a22f0ed78f985307c86c028800e6 (diff)
downloadkrecipes-rename/tdeapp.tar.gz
krecipes-rename/tdeapp.zip
Use tdeApprename/tdeapp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/backends')
-rw-r--r--src/backends/recipedb.cpp8
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;