summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/closebutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:30 -0600
commit29df04c24350cc76a41e2410d1c92445f9338b98 (patch)
treec2b9cde128e24275393a83d9eaec58b2ef12d109 /kommander/widgets/closebutton.cpp
parentc70534eef6085384ef7ddff369a154dbc8901917 (diff)
downloadtdewebdev-29df04c24350cc76a41e2410d1c92445f9338b98.tar.gz
tdewebdev-29df04c24350cc76a41e2410d1c92445f9338b98.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kommander/widgets/closebutton.cpp')
-rw-r--r--kommander/widgets/closebutton.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kommander/widgets/closebutton.cpp b/kommander/widgets/closebutton.cpp
index 9ecbbaf6..4ad1c3c3 100644
--- a/kommander/widgets/closebutton.cpp
+++ b/kommander/widgets/closebutton.cpp
@@ -105,13 +105,13 @@ void CloseButton::startProcess()
KShellProcess *process = new KShellProcess("/bin/sh");
*process << at;
- connect(process, TQT_SIGNAL(processExited(KProcess *)), TQT_SLOT(endProcess(KProcess *)));
- connect(process, TQT_SIGNAL(receivedStdout(KProcess *, char *, int)), TQT_SLOT(appendOutput(KProcess *,
+ connect(process, TQT_SIGNAL(processExited(TDEProcess *)), TQT_SLOT(endProcess(TDEProcess *)));
+ connect(process, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), TQT_SLOT(appendOutput(TDEProcess *,
char *, int)));
- connect(process, TQT_SIGNAL(receivedStderr(KProcess *, char *, int)), TQT_SLOT(appendOutput(KProcess *,
+ connect(process, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), TQT_SLOT(appendOutput(TDEProcess *,
char *, int)));
- if (!process->start(KProcess::Block, KProcess::Stdout))
+ if (!process->start(TDEProcess::Block, TDEProcess::Stdout))
{
KMessageBox::error(this, i18n("Failed to start shell process."));
endProcess(process);
@@ -121,7 +121,7 @@ void CloseButton::startProcess()
endProcess(0);
}
-void CloseButton::appendOutput(KProcess *, char *a_buffer, int a_len)
+void CloseButton::appendOutput(TDEProcess *, char *a_buffer, int a_len)
{
char *buffer = new char[a_len + 1];
buffer[a_len] = 0;
@@ -138,7 +138,7 @@ void CloseButton::appendOutput(KProcess *, char *a_buffer, int a_len)
delete[] buffer;
}
-void CloseButton::endProcess(KProcess *a_process)
+void CloseButton::endProcess(TDEProcess *a_process)
{
emit widgetTextChanged(m_output);
m_output = "";