summaryrefslogtreecommitdiffstats
path: root/src/gui/application/StartupTester.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/application/StartupTester.cpp')
-rw-r--r--src/gui/application/StartupTester.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/application/StartupTester.cpp b/src/gui/application/StartupTester.cpp
index 74704e1..3a685c0 100644
--- a/src/gui/application/StartupTester.cpp
+++ b/src/gui/application/StartupTester.cpp
@@ -65,13 +65,13 @@ StartupTester::run()
m_audioFileImporterMutex.lock();
m_ready = true;
- KProcess *proc = new KProcess();
+ TDEProcess *proc = new TDEProcess();
m_stdoutBuffer = "";
- TQObject::connect(proc, TQT_SIGNAL(receivedStdout(KProcess *, char *, int)),
- this, TQT_SLOT(stdoutReceived(KProcess *, char *, int)));
+ TQObject::connect(proc, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ this, TQT_SLOT(stdoutReceived(TDEProcess *, char *, int)));
*proc << "rosegarden-audiofile-importer";
*proc << "--conftest";
- proc->start(KProcess::Block, KProcess::All);
+ proc->start(TDEProcess::Block, TDEProcess::All);
if (!proc->normalExit() || proc->exitStatus()) {
RG_DEBUG << "StartupTester - No audio file importer available" << endl;
m_haveAudioFileImporter = false;
@@ -83,13 +83,13 @@ StartupTester::run()
delete proc;
m_audioFileImporterMutex.unlock();
- proc = new KProcess;
+ proc = new TDEProcess;
m_stdoutBuffer = "";
- TQObject::connect(proc, TQT_SIGNAL(receivedStdout(KProcess *, char *, int)),
- this, TQT_SLOT(stdoutReceived(KProcess *, char *, int)));
+ TQObject::connect(proc, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ this, TQT_SLOT(stdoutReceived(TDEProcess *, char *, int)));
*proc << "rosegarden-project-package";
*proc << "--conftest";
- proc->start(KProcess::Block, KProcess::All);
+ proc->start(TDEProcess::Block, TDEProcess::All);
if (!proc->normalExit() || proc->exitStatus()) {
m_haveProjectPackager = false;
// rosegarden-project-package ran but exited with an error code
@@ -103,13 +103,13 @@ StartupTester::run()
delete proc;
m_projectPackagerMutex.unlock();
- proc = new KProcess();
+ proc = new TDEProcess();
m_stdoutBuffer = "";
- TQObject::connect(proc, TQT_SIGNAL(receivedStdout(KProcess *, char *, int)),
- this, TQT_SLOT(stdoutReceived(KProcess *, char *, int)));
+ TQObject::connect(proc, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ this, TQT_SLOT(stdoutReceived(TDEProcess *, char *, int)));
*proc << "rosegarden-lilypondview";
*proc << "--conftest";
- proc->start(KProcess::Block, KProcess::All);
+ proc->start(TDEProcess::Block, TDEProcess::All);
if (!proc->normalExit() || proc->exitStatus()) {
RG_DEBUG << "StartupTester - No lilypondview available" << endl;
m_haveLilyPondView = false;
@@ -145,7 +145,7 @@ StartupTester::isReady()
}
void
-StartupTester::stdoutReceived(KProcess *, char *buffer, int len)
+StartupTester::stdoutReceived(TDEProcess *, char *buffer, int len)
{
m_stdoutBuffer += TQString::fromLatin1(buffer, len);
}