diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:40:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:40:51 -0600 |
commit | 4c097708c4cc24f3b8e4c21f14644f5715767d47 (patch) | |
tree | e8ca4b1d3a3b3de0d18e5f144dcef9b36f830b84 /kate/textfilter/plugin_katetextfilter.cpp | |
parent | 0642ee50634d90e255c6f45194f6a47dc1157cde (diff) | |
download | tdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.tar.gz tdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kate/textfilter/plugin_katetextfilter.cpp')
-rw-r--r-- | kate/textfilter/plugin_katetextfilter.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kate/textfilter/plugin_katetextfilter.cpp b/kate/textfilter/plugin_katetextfilter.cpp index 996353b..327f903 100644 --- a/kate/textfilter/plugin_katetextfilter.cpp +++ b/kate/textfilter/plugin_katetextfilter.cpp @@ -178,7 +178,7 @@ KatePrompt void -PluginKateTextFilter::slotFilterReceivedStdout (KProcess * pProcess, char * got, int len) +PluginKateTextFilter::slotFilterReceivedStdout (TDEProcess * pProcess, char * got, int len) { assert (pProcess == m_pFilterShellProcess); @@ -197,14 +197,14 @@ PluginKateTextFilter::slotFilterReceivedStdout (KProcess * pProcess, char * got, void -PluginKateTextFilter::slotFilterReceivedStderr (KProcess * pProcess, char * got, int len) +PluginKateTextFilter::slotFilterReceivedStderr (TDEProcess * pProcess, char * got, int len) { slotFilterReceivedStdout (pProcess, got, len); } void -PluginKateTextFilter::slotFilterProcessExited (KProcess * pProcess) +PluginKateTextFilter::slotFilterProcessExited (TDEProcess * pProcess) { assert (pProcess == m_pFilterShellProcess); @@ -233,7 +233,7 @@ slipInFilter (KShellProcess & shell, Kate::View & view, TQString command) shell.clearArguments (); shell << command; - shell.start (KProcess::NotifyOnExit, KProcess::All); + shell.start (TDEProcess::NotifyOnExit, TDEProcess::All); shell.writeStdin (marked.local8Bit (), marked.length ()); // TODO: Put up a modal dialog to defend the text from further // keystrokes while the command is out. With a cancel button... @@ -242,7 +242,7 @@ slipInFilter (KShellProcess & shell, Kate::View & view, TQString command) void -PluginKateTextFilter::slotFilterCloseStdin (KProcess * pProcess) +PluginKateTextFilter::slotFilterCloseStdin (TDEProcess * pProcess) { assert (pProcess == m_pFilterShellProcess); pProcess -> closeStdin (); @@ -283,17 +283,17 @@ void PluginKateTextFilter::runFilter( Kate::View *kv, const TQString &filter ) { m_pFilterShellProcess = new KShellProcess; - connect ( m_pFilterShellProcess, TQT_SIGNAL(wroteStdin(KProcess *)), - this, TQT_SLOT(slotFilterCloseStdin (KProcess *))); + connect ( m_pFilterShellProcess, TQT_SIGNAL(wroteStdin(TDEProcess *)), + this, TQT_SLOT(slotFilterCloseStdin (TDEProcess *))); - connect ( m_pFilterShellProcess, TQT_SIGNAL(receivedStdout(KProcess*,char*,int)), - this, TQT_SLOT(slotFilterReceivedStdout(KProcess*,char*,int)) ); + connect ( m_pFilterShellProcess, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)), + this, TQT_SLOT(slotFilterReceivedStdout(TDEProcess*,char*,int)) ); - connect ( m_pFilterShellProcess, TQT_SIGNAL(receivedStderr(KProcess*,char*,int)), - this, TQT_SLOT(slotFilterReceivedStderr(KProcess*,char*,int)) ); + connect ( m_pFilterShellProcess, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)), + this, TQT_SLOT(slotFilterReceivedStderr(TDEProcess*,char*,int)) ); - connect ( m_pFilterShellProcess, TQT_SIGNAL(processExited(KProcess*)), - this, TQT_SLOT(slotFilterProcessExited(KProcess*) ) ) ; + connect ( m_pFilterShellProcess, TQT_SIGNAL(processExited(TDEProcess*)), + this, TQT_SLOT(slotFilterProcessExited(TDEProcess*) ) ) ; } slipInFilter (*m_pFilterShellProcess, *kv, filter); |