summaryrefslogtreecommitdiffstats
path: root/kexi/main/startup/KexiStartup_p.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:23:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:23:24 -0600
commit5b8ab149469c8e186ee8b05d90c0103ae722dd85 (patch)
treefb31321c80b12ee8e2237bdcf8c228fe44e67772 /kexi/main/startup/KexiStartup_p.cpp
parentfe33d391dd7c9da0f83e779344a17e2e445b70a8 (diff)
downloadkoffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.tar.gz
koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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;