diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-15 22:24:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-15 22:24:13 +0900 |
commit | 567e063ea934ef12aa05a5d5b2598c1d6f52890e (patch) | |
tree | 8596de87f2a9865ea66582c080abfc8268e68f01 | |
parent | 1953eddce24dfef0e41764e04a72b34d29d01130 (diff) | |
download | krecipes-567e063ea934ef12aa05a5d5b2598c1d6f52890e.tar.gz krecipes-567e063ea934ef12aa05a5d5b2598c1d6f52890e.zip |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | src/backends/recipedb.cpp | 4 | ||||
-rw-r--r-- | src/convert_sqlite3.cpp | 8 | ||||
-rw-r--r-- | src/convert_sqlite3.h | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/backends/recipedb.cpp b/src/backends/recipedb.cpp index 1e4dd19..fff517b 100644 --- a/src/backends/recipedb.cpp +++ b/src/backends/recipedb.cpp @@ -26,7 +26,7 @@ #include <tdelocale.h> #include <tdeaboutdata.h> #include <tdeprocess.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <kfilterdev.h> #include <tdemessagebox.h> @@ -414,7 +414,7 @@ bool RecipeDB::restore( const TQString &file, TQString *errMsg ) //by loading the old schema and then porting it to the current version. empty(); //the user had better be warned! - KProcIO *process = new KProcIO; + TDEProcIO *process = new TDEProcIO; TQStringList command = restoreCommand(); kdDebug()<<"Restoring backup using: "<<command[0]<<endl; diff --git a/src/convert_sqlite3.cpp b/src/convert_sqlite3.cpp index ddb144e..6e663ad 100644 --- a/src/convert_sqlite3.cpp +++ b/src/convert_sqlite3.cpp @@ -17,7 +17,7 @@ #include <tdeglobal.h> #include <tdeconfig.h> #include <tdemessagebox.h> -#include <kprocio.h> +#include <tdeprocio.h> //FIXME: Some messages should be given to the user about success/failure, but that can't be done in the 0.8.x branch due to i18n. @@ -30,14 +30,14 @@ ConvertSQLite3::ConvertSQLite3( const TQString &db_file ) : TQObject(), error(fa file = config->readEntry("DBFile"); } - KProcIO *p = new KProcIO; + TDEProcIO *p = new TDEProcIO; p->setUseShell(true); //sqlite OLD.DB .dump | sqlite3 NEW.DB *p << "sqlite" << file << ".dump" << "|" << "sqlite3" << file+".new"; - TQApplication::connect( p, TQ_SIGNAL(readReady(KProcIO*)), this, TQ_SLOT(processOutput(KProcIO*)) ); + TQApplication::connect( p, TQ_SIGNAL(readReady(TDEProcIO*)), this, TQ_SLOT(processOutput(TDEProcIO*)) ); bool success = p->start( TDEProcess::Block, true ); if ( !success ) { @@ -77,7 +77,7 @@ ConvertSQLite3::~ConvertSQLite3() { } -void ConvertSQLite3::processOutput( KProcIO* p ) +void ConvertSQLite3::processOutput( TDEProcIO* p ) { TQString error_str, buffer; while ( p->readln(buffer) != -1 ) { diff --git a/src/convert_sqlite3.h b/src/convert_sqlite3.h index 4f23bf5..9b8f2f1 100644 --- a/src/convert_sqlite3.h +++ b/src/convert_sqlite3.h @@ -13,7 +13,7 @@ #include <tqobject.h> -class KProcIO; +class TDEProcIO; class ConvertSQLite3 : public TQObject { @@ -24,7 +24,7 @@ public: ~ConvertSQLite3(); public slots: - void processOutput( KProcIO* p ); + void processOutput( TDEProcIO* p ); private: bool copyFile( const TQString &oldFilePath, const TQString &newFilePath ); |