summaryrefslogtreecommitdiffstats
path: root/kexi/main/startup/KexiStartup_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main/startup/KexiStartup_p.cpp')
-rw-r--r--kexi/main/startup/KexiStartup_p.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/main/startup/KexiStartup_p.cpp b/kexi/main/startup/KexiStartup_p.cpp
index e959ccdc..287bd846 100644
--- a/kexi/main/startup/KexiStartup_p.cpp
+++ b/kexi/main/startup/KexiStartup_p.cpp
@@ -62,13 +62,13 @@ tristate SQLite2ToSQLite3Migration::run()
//remember permissions of m_filePath
m_restoreStat = (0==stat(TQFile::encodeName(m_filePath), &m_st));
- m_process = new KProcess(this, "process");
+ m_process = new TDEProcess(this, "process");
*m_process << ksqlite2to3_app << m_filePath;
m_process->setWorkingDirectory( fi.dir(true).absPath() );
- connect( m_process, TQT_SIGNAL(receivedStderr(KProcess*,char*,int)),
- this, TQT_SLOT(receivedStderr(KProcess*,char*,int)));
- connect( m_process, TQT_SIGNAL(processExited(KProcess*)), this, TQT_SLOT(processExited(KProcess*)) );
- if (!m_process->start(KProcess::NotifyOnExit, KProcess::Stderr))
+ connect( m_process, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
+ this, TQT_SLOT(receivedStderr(TDEProcess*,char*,int)));
+ connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(processExited(TDEProcess*)) );
+ if (!m_process->start(TDEProcess::NotifyOnExit, TDEProcess::Stderr))
return false;
m_dlg = new KProgressDialog(0, 0, TQString(),
@@ -91,12 +91,12 @@ tristate SQLite2ToSQLite3Migration::run()
extern void updateProgressBar(KProgressDialog *pd, char *buffer, int buflen);
-void SQLite2ToSQLite3Migration::receivedStderr(KProcess *, char *buffer, int buflen)
+void SQLite2ToSQLite3Migration::receivedStderr(TDEProcess *, char *buffer, int buflen)
{
updateProgressBar(m_dlg, buffer, buflen);
}
-void SQLite2ToSQLite3Migration::processExited(KProcess* process)
+void SQLite2ToSQLite3Migration::processExited(TDEProcess* process)
{
kdDebug() << "EXIT " << process->name() << endl;