summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backends/recipedb.cpp4
-rw-r--r--src/convert_sqlite3.cpp8
-rw-r--r--src/convert_sqlite3.h4
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 );