summaryrefslogtreecommitdiffstats
path: root/src/convert_sqlite3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/convert_sqlite3.cpp')
-rw-r--r--src/convert_sqlite3.cpp8
1 files changed, 4 insertions, 4 deletions
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 ) {