diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:20:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:20:25 -0600 |
commit | 2ee2d4c4c7ac2f52f9c57fa8eeea177c2818bdea (patch) | |
tree | baaf1e7c1052048d420a1c84ff8596dde36beebe /kdpkg-install/process.cpp | |
parent | 03b0a8e08fbc97861f0a2b23cf0f6f476cfb552d (diff) | |
download | kdpkg-2ee2d4c4c7ac2f52f9c57fa8eeea177c2818bdea.tar.gz kdpkg-2ee2d4c4c7ac2f52f9c57fa8eeea177c2818bdea.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kdpkg-install/process.cpp')
-rw-r--r-- | kdpkg-install/process.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdpkg-install/process.cpp b/kdpkg-install/process.cpp index a788a9f..97c2f6b 100644 --- a/kdpkg-install/process.cpp +++ b/kdpkg-install/process.cpp @@ -6,10 +6,10 @@ Process::Process() { _buffer = TQString(); - _process = new KProcess(); + _process = new TDEProcess(); - connect(_process, TQT_SIGNAL(receivedStdout(KProcess*, char*, int)), - this, TQT_SLOT(slotProcessOutput(KProcess*, char*, int))); + connect(_process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), + this, TQT_SLOT(slotProcessOutput(TDEProcess*, char*, int))); } @@ -32,9 +32,9 @@ void Process::start(bool block) { if( block ) - _process->start(KProcess::Block, KProcess::Stdout); + _process->start(TDEProcess::Block, TDEProcess::Stdout); else - _process->start(KProcess::DontCare, KProcess::Stdout); + _process->start(TDEProcess::DontCare, TDEProcess::Stdout); } TQString Process::getBuffer() @@ -52,7 +52,7 @@ return _process->normalExit(); } - void Process::slotProcessOutput(KProcess* process, char* buffer, int len) + void Process::slotProcessOutput(TDEProcess* process, char* buffer, int len) { if (process != _process) return; |